2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1268
public ControlCollection Controls =>
ChildControls
??= CreateControlsInstance();
4746
ChildControls
= null;
32 references to ChildControls
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (32)
2143
public bool HasChildren =>
ChildControls
is not null &&
ChildControls
.Count > 0;
3358
if (
ChildControls
is { } children)
4578
if (
ChildControls
is { } children)
4737
if (
ChildControls
is { } children)
4772
if (
ChildControls
is { } children)
5429
if (
ChildControls
is not { } children)
5519
if (
ChildControls
is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl)))
5540
ControlCollection? parentChildren = p?.
ChildControls
;
5599
ControlCollection? siblings = parent.
ChildControls
?? throw new InvalidOperationException(
5672
ControlCollection? children = ctl.
ChildControls
;
5680
children = ctl.
ChildControls
;
6599
if (
ChildControls
is { } children)
6623
if (
ChildControls
is { } children)
6666
if (
ChildControls
is { } children)
6710
if (
ChildControls
is { } children)
6732
if (
ChildControls
is { } children)
6781
if (
ChildControls
is { } children)
6822
if (
ChildControls
is { } children)
6852
if (
ChildControls
is { } children)
6880
if (
ChildControls
is { } children)
7063
if (DesiredVisibility &&
ChildControls
is { } children)
7165
if (
ChildControls
is { } children)
7185
if (
ChildControls
is { } children)
7619
if (
ChildControls
is { } children)
8013
if (
ChildControls
is { } children)
9176
if (
ChildControls
is { } children && children.Count > 0)
9442
if (
ChildControls
is { } children)
9531
if (ScaleChildren &&
ChildControls
is { } children)
9601
if (!ScaleChildren ||
ChildControls
is not { } children)
9815
if (
ChildControls
is { } children)
12588
ArrangedElementCollection IArrangedElement.Children =>
ChildControls
?? ArrangedElementCollection.Empty;