2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1357public ControlCollection Controls => ChildControls ??= CreateControlsInstance(); 4835ChildControls = null;
32 references to ChildControls
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (32)
2232public bool HasChildren => ChildControls is not null && ChildControls.Count > 0; 3447if (ChildControls is { } children) 4667if (ChildControls is { } children) 4826if (ChildControls is { } children) 4861if (ChildControls is { } children) 5518if (ChildControls is not { } children) 5608if (ChildControls is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl))) 5629ControlCollection? parentChildren = p?.ChildControls; 5688ControlCollection? siblings = parent.ChildControls ?? throw new InvalidOperationException( 5761ControlCollection? children = ctl.ChildControls; 5769children = ctl.ChildControls; 6690if (ChildControls is { } children) 6714if (ChildControls is { } children) 6757if (ChildControls is { } children) 6801if (ChildControls is { } children) 6823if (ChildControls is { } children) 6872if (ChildControls is { } children) 6913if (ChildControls is { } children) 6943if (ChildControls is { } children) 6971if (ChildControls is { } children) 7151if (DesiredVisibility && ChildControls is { } children) 7253if (ChildControls is { } children) 7273if (ChildControls is { } children) 7705if (ChildControls is { } children) 8099if (ChildControls is { } children) 9256if (ChildControls is { } children && children.Count > 0) 9539if (ChildControls is { } children) 9628if (ScaleChildren && ChildControls is { } children) 9698if (!ScaleChildren || ChildControls is not { } children) 9912if (ChildControls is { } children) 12693ArrangedElementCollection IArrangedElement.Children => ChildControls ?? ArrangedElementCollection.Empty;