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