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) 7060if (DesiredVisibility && ChildControls is { } children) 7162if (ChildControls is { } children) 7182if (ChildControls is { } children) 7613if (ChildControls is { } children) 8007if (ChildControls is { } children) 9170if (ChildControls is { } children && children.Count > 0) 9436if (ChildControls is { } children) 9525if (ScaleChildren && ChildControls is { } children) 9595if (!ScaleChildren || ChildControls is not { } children) 9809if (ChildControls is { } children) 12576ArrangedElementCollection IArrangedElement.Children => ChildControls ?? ArrangedElementCollection.Empty;