2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1270
public ControlCollection Controls =>
ChildControls
??= CreateControlsInstance();
4748
ChildControls
= null;
32 references to ChildControls
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (32)
2145
public bool HasChildren =>
ChildControls
is not null &&
ChildControls
.Count > 0;
3360
if (
ChildControls
is { } children)
4580
if (
ChildControls
is { } children)
4739
if (
ChildControls
is { } children)
4774
if (
ChildControls
is { } children)
5431
if (
ChildControls
is not { } children)
5521
if (
ChildControls
is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl)))
5542
ControlCollection? parentChildren = p?.
ChildControls
;
5601
ControlCollection? siblings = parent.
ChildControls
?? throw new InvalidOperationException(
5674
ControlCollection? children = ctl.
ChildControls
;
5682
children = ctl.
ChildControls
;
6601
if (
ChildControls
is { } children)
6625
if (
ChildControls
is { } children)
6668
if (
ChildControls
is { } children)
6712
if (
ChildControls
is { } children)
6734
if (
ChildControls
is { } children)
6783
if (
ChildControls
is { } children)
6824
if (
ChildControls
is { } children)
6854
if (
ChildControls
is { } children)
6882
if (
ChildControls
is { } children)
7065
if (DesiredVisibility &&
ChildControls
is { } children)
7167
if (
ChildControls
is { } children)
7187
if (
ChildControls
is { } children)
7621
if (
ChildControls
is { } children)
8015
if (
ChildControls
is { } children)
9178
if (
ChildControls
is { } children && children.Count > 0)
9444
if (
ChildControls
is { } children)
9533
if (ScaleChildren &&
ChildControls
is { } children)
9603
if (!ScaleChildren ||
ChildControls
is not { } children)
9817
if (
ChildControls
is { } children)
12590
ArrangedElementCollection IArrangedElement.Children =>
ChildControls
?? ArrangedElementCollection.Empty;