2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1269
public ControlCollection Controls =>
ChildControls
??= CreateControlsInstance();
4747
ChildControls
= null;
32 references to ChildControls
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (32)
2144
public bool HasChildren =>
ChildControls
is not null &&
ChildControls
.Count > 0;
3359
if (
ChildControls
is { } children)
4579
if (
ChildControls
is { } children)
4738
if (
ChildControls
is { } children)
4773
if (
ChildControls
is { } children)
5390
if (
ChildControls
is not { } children)
5480
if (
ChildControls
is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl)))
5501
ControlCollection? parentChildren = p?.
ChildControls
;
5560
ControlCollection? siblings = parent.
ChildControls
?? throw new InvalidOperationException(
5633
ControlCollection? children = ctl.
ChildControls
;
5641
children = ctl.
ChildControls
;
6560
if (
ChildControls
is { } children)
6584
if (
ChildControls
is { } children)
6627
if (
ChildControls
is { } children)
6671
if (
ChildControls
is { } children)
6693
if (
ChildControls
is { } children)
6742
if (
ChildControls
is { } children)
6783
if (
ChildControls
is { } children)
6813
if (
ChildControls
is { } children)
6841
if (
ChildControls
is { } children)
7024
if (DesiredVisibility &&
ChildControls
is { } children)
7126
if (
ChildControls
is { } children)
7146
if (
ChildControls
is { } children)
7580
if (
ChildControls
is { } children)
7974
if (
ChildControls
is { } children)
9137
if (
ChildControls
is { } children && children.Count > 0)
9403
if (
ChildControls
is { } children)
9492
if (ScaleChildren &&
ChildControls
is { } children)
9562
if (!ScaleChildren ||
ChildControls
is not { } children)
9784
if (
ChildControls
is { } children)
12558
ArrangedElementCollection IArrangedElement.Children =>
ChildControls
?? ArrangedElementCollection.Empty;