2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1536
public ControlCollection Controls =>
ChildControls
??= CreateControlsInstance();
5050
ChildControls
= null;
37 references to ChildControls
System.Windows.Forms (37)
System\Windows\Forms\Control.cs (36)
2411
public bool HasChildren =>
ChildControls
is not null &&
ChildControls
.Count > 0;
3626
if (
ChildControls
is { } children)
4882
if (
ChildControls
is { } children)
5041
if (
ChildControls
is { } children)
5076
if (
ChildControls
is { } children)
5742
if (
ChildControls
is not { } children)
5832
if (
ChildControls
is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl)))
5853
ControlCollection? parentChildren = p?.
ChildControls
;
5912
ControlCollection? siblings = parent.
ChildControls
?? throw new InvalidOperationException(
5985
ControlCollection? children = ctl.
ChildControls
;
5993
children = ctl.
ChildControls
;
6914
if (
ChildControls
is { } children)
6938
if (
ChildControls
is { } children)
6981
if (
ChildControls
is { } children)
7025
if (
ChildControls
is { } children)
7047
if (
ChildControls
is { } children)
7128
if (
ChildControls
is { } children
7246
if (
ChildControls
is { } children)
7287
if (
ChildControls
is { } children)
7317
if (
ChildControls
is { } children)
7345
if (
ChildControls
is { } children)
7441
else if (
ChildControls
is { } children)
7750
if (DesiredVisibility &&
ChildControls
is { } children)
7852
if (
ChildControls
is { } children)
7872
if (
ChildControls
is { } children)
8315
if (
ChildControls
is { } children)
8709
if (
ChildControls
is { } children)
8754
if (
ChildControls
is { } children)
8787
else if (
ChildControls
is { } children)
9987
if (
ChildControls
is { } children && children.Count > 0)
10270
if (
ChildControls
is { } children)
10359
if (ScaleChildren &&
ChildControls
is { } children)
10429
if (!ScaleChildren ||
ChildControls
is not { } children)
10643
if (
ChildControls
is { } children)
13436
ArrangedElementCollection IArrangedElement.Children =>
ChildControls
?? ArrangedElementCollection.Empty;
System\Windows\Forms\SuspendPaintingScope.cs (1)
178
if (control.
ChildControls
is not { } children)