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