2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1343
public ControlCollection Controls =>
ChildControls
??= CreateControlsInstance();
4821
ChildControls
= null;
32 references to ChildControls
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (32)
2218
public bool HasChildren =>
ChildControls
is not null &&
ChildControls
.Count > 0;
3433
if (
ChildControls
is { } children)
4653
if (
ChildControls
is { } children)
4812
if (
ChildControls
is { } children)
4847
if (
ChildControls
is { } children)
5504
if (
ChildControls
is not { } children)
5594
if (
ChildControls
is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl)))
5615
ControlCollection? parentChildren = p?.
ChildControls
;
5674
ControlCollection? siblings = parent.
ChildControls
?? throw new InvalidOperationException(
5747
ControlCollection? children = ctl.
ChildControls
;
5755
children = ctl.
ChildControls
;
6674
if (
ChildControls
is { } children)
6698
if (
ChildControls
is { } children)
6741
if (
ChildControls
is { } children)
6785
if (
ChildControls
is { } children)
6807
if (
ChildControls
is { } children)
6856
if (
ChildControls
is { } children)
6897
if (
ChildControls
is { } children)
6927
if (
ChildControls
is { } children)
6955
if (
ChildControls
is { } children)
7135
if (DesiredVisibility &&
ChildControls
is { } children)
7237
if (
ChildControls
is { } children)
7257
if (
ChildControls
is { } children)
7691
if (
ChildControls
is { } children)
8085
if (
ChildControls
is { } children)
9242
if (
ChildControls
is { } children && children.Count > 0)
9526
if (
ChildControls
is { } children)
9615
if (ScaleChildren &&
ChildControls
is { } children)
9685
if (!ScaleChildren ||
ChildControls
is not { } children)
9899
if (
ChildControls
is { } children)
12682
ArrangedElementCollection IArrangedElement.Children =>
ChildControls
?? ArrangedElementCollection.Empty;