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
;
6697
if (
ChildControls
is { } children)
6721
if (
ChildControls
is { } children)
6764
if (
ChildControls
is { } children)
6808
if (
ChildControls
is { } children)
6830
if (
ChildControls
is { } children)
6879
if (
ChildControls
is { } children)
6920
if (
ChildControls
is { } children)
6950
if (
ChildControls
is { } children)
6978
if (
ChildControls
is { } children)
7158
if (DesiredVisibility &&
ChildControls
is { } children)
7260
if (
ChildControls
is { } children)
7280
if (
ChildControls
is { } children)
7712
if (
ChildControls
is { } children)
8106
if (
ChildControls
is { } children)
9263
if (
ChildControls
is { } children && children.Count > 0)
9546
if (
ChildControls
is { } children)
9635
if (ScaleChildren &&
ChildControls
is { } children)
9705
if (!ScaleChildren ||
ChildControls
is not { } children)
9919
if (
ChildControls
is { } children)
12700
ArrangedElementCollection IArrangedElement.Children =>
ChildControls
?? ArrangedElementCollection.Empty;