2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1545
public ControlCollection Controls =>
ChildControls
??= CreateControlsInstance();
5059
ChildControls
= null;
38 references to ChildControls
System.Windows.Forms (38)
System\Windows\Forms\Control.cs (37)
2420
public bool HasChildren =>
ChildControls
is not null &&
ChildControls
.Count > 0;
3635
if (
ChildControls
is { } children)
4891
if (
ChildControls
is { } children)
5050
if (
ChildControls
is { } children)
5085
if (
ChildControls
is { } children)
5751
if (
ChildControls
is not { } children)
5841
if (
ChildControls
is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl)))
5862
ControlCollection? parentChildren = p?.
ChildControls
;
5921
ControlCollection? siblings = parent.
ChildControls
?? throw new InvalidOperationException(
5994
ControlCollection? children = ctl.
ChildControls
;
6002
children = ctl.
ChildControls
;
6923
if (
ChildControls
is { } children)
6947
if (
ChildControls
is { } children)
6990
if (
ChildControls
is { } children)
7034
if (
ChildControls
is { } children)
7056
if (
ChildControls
is { } children)
7137
if (
ChildControls
is { } children
7255
if (
ChildControls
is { } children)
7296
if (
ChildControls
is { } children)
7326
if (
ChildControls
is { } children)
7354
if (
ChildControls
is { } children)
7450
else if (
ChildControls
is { } children)
7506
else if (
ChildControls
is { } children)
7808
if (DesiredVisibility &&
ChildControls
is { } children)
7910
if (
ChildControls
is { } children)
7930
if (
ChildControls
is { } children)
8373
if (
ChildControls
is { } children)
8767
if (
ChildControls
is { } children)
8812
if (
ChildControls
is { } children)
8845
else if (
ChildControls
is { } children)
10045
if (
ChildControls
is { } children && children.Count > 0)
10328
if (
ChildControls
is { } children)
10417
if (ScaleChildren &&
ChildControls
is { } children)
10487
if (!ScaleChildren ||
ChildControls
is not { } children)
10701
if (
ChildControls
is { } children)
13494
ArrangedElementCollection IArrangedElement.Children =>
ChildControls
?? ArrangedElementCollection.Empty;
System\Windows\Forms\SuspendPaintingScope.cs (1)
178
if (control.
ChildControls
is not { } children)