2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1364
public ControlCollection Controls =>
ChildControls
??= CreateControlsInstance();
4842
ChildControls
= null;
32 references to ChildControls
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (32)
2239
public bool HasChildren =>
ChildControls
is not null &&
ChildControls
.Count > 0;
3454
if (
ChildControls
is { } children)
4674
if (
ChildControls
is { } children)
4833
if (
ChildControls
is { } children)
4868
if (
ChildControls
is { } children)
5525
if (
ChildControls
is not { } children)
5615
if (
ChildControls
is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl)))
5636
ControlCollection? parentChildren = p?.
ChildControls
;
5695
ControlCollection? siblings = parent.
ChildControls
?? throw new InvalidOperationException(
5768
ControlCollection? children = ctl.
ChildControls
;
5776
children = ctl.
ChildControls
;
6695
if (
ChildControls
is { } children)
6719
if (
ChildControls
is { } children)
6762
if (
ChildControls
is { } children)
6806
if (
ChildControls
is { } children)
6828
if (
ChildControls
is { } children)
6877
if (
ChildControls
is { } children)
6918
if (
ChildControls
is { } children)
6948
if (
ChildControls
is { } children)
6976
if (
ChildControls
is { } children)
7156
if (DesiredVisibility &&
ChildControls
is { } children)
7258
if (
ChildControls
is { } children)
7278
if (
ChildControls
is { } children)
7712
if (
ChildControls
is { } children)
8106
if (
ChildControls
is { } children)
9263
if (
ChildControls
is { } children && children.Count > 0)
9547
if (
ChildControls
is { } children)
9636
if (ScaleChildren &&
ChildControls
is { } children)
9706
if (!ScaleChildren ||
ChildControls
is not { } children)
9920
if (
ChildControls
is { } children)
12703
ArrangedElementCollection IArrangedElement.Children =>
ChildControls
?? ArrangedElementCollection.Empty;