2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1270public ControlCollection Controls => ChildControls ??= CreateControlsInstance(); 4748ChildControls = null;
32 references to ChildControls
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (32)
2145public bool HasChildren => ChildControls is not null && ChildControls.Count > 0; 3360if (ChildControls is { } children) 4580if (ChildControls is { } children) 4739if (ChildControls is { } children) 4774if (ChildControls is { } children) 5431if (ChildControls is not { } children) 5521if (ChildControls is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl))) 5542ControlCollection? parentChildren = p?.ChildControls; 5601ControlCollection? siblings = parent.ChildControls ?? throw new InvalidOperationException( 5674ControlCollection? children = ctl.ChildControls; 5682children = ctl.ChildControls; 6601if (ChildControls is { } children) 6625if (ChildControls is { } children) 6668if (ChildControls is { } children) 6712if (ChildControls is { } children) 6734if (ChildControls is { } children) 6783if (ChildControls is { } children) 6824if (ChildControls is { } children) 6854if (ChildControls is { } children) 6882if (ChildControls is { } children) 7065if (DesiredVisibility && ChildControls is { } children) 7167if (ChildControls is { } children) 7187if (ChildControls is { } children) 7621if (ChildControls is { } children) 8015if (ChildControls is { } children) 9178if (ChildControls is { } children && children.Count > 0) 9444if (ChildControls is { } children) 9533if (ScaleChildren && ChildControls is { } children) 9603if (!ScaleChildren || ChildControls is not { } children) 9817if (ChildControls is { } children) 12590ArrangedElementCollection IArrangedElement.Children => ChildControls ?? ArrangedElementCollection.Empty;