2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1268public ControlCollection Controls => ChildControls ??= CreateControlsInstance(); 4746ChildControls = null;
32 references to ChildControls
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (32)
2143public bool HasChildren => ChildControls is not null && ChildControls.Count > 0; 3358if (ChildControls is { } children) 4578if (ChildControls is { } children) 4737if (ChildControls is { } children) 4772if (ChildControls is { } children) 5429if (ChildControls is not { } children) 5519if (ChildControls is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl))) 5540ControlCollection? parentChildren = p?.ChildControls; 5599ControlCollection? siblings = parent.ChildControls ?? throw new InvalidOperationException( 5672ControlCollection? children = ctl.ChildControls; 5680children = ctl.ChildControls; 6599if (ChildControls is { } children) 6623if (ChildControls is { } children) 6666if (ChildControls is { } children) 6710if (ChildControls is { } children) 6732if (ChildControls is { } children) 6781if (ChildControls is { } children) 6822if (ChildControls is { } children) 6852if (ChildControls is { } children) 6880if (ChildControls is { } children) 7063if (DesiredVisibility && ChildControls is { } children) 7165if (ChildControls is { } children) 7185if (ChildControls is { } children) 7619if (ChildControls is { } children) 8013if (ChildControls is { } children) 9176if (ChildControls is { } children && children.Count > 0) 9442if (ChildControls is { } children) 9531if (ScaleChildren && ChildControls is { } children) 9601if (!ScaleChildren || ChildControls is not { } children) 9815if (ChildControls is { } children) 12588ArrangedElementCollection IArrangedElement.Children => ChildControls ?? ArrangedElementCollection.Empty;