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)
7060
if (DesiredVisibility &&
ChildControls
is { } children)
7162
if (
ChildControls
is { } children)
7182
if (
ChildControls
is { } children)
7613
if (
ChildControls
is { } children)
8007
if (
ChildControls
is { } children)
9170
if (
ChildControls
is { } children && children.Count > 0)
9436
if (
ChildControls
is { } children)
9525
if (ScaleChildren &&
ChildControls
is { } children)
9595
if (!ScaleChildren ||
ChildControls
is not { } children)
9809
if (
ChildControls
is { } children)
12576
ArrangedElementCollection IArrangedElement.Children =>
ChildControls
?? ArrangedElementCollection.Empty;