2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1343public ControlCollection Controls => ChildControls ??= CreateControlsInstance(); 4821ChildControls = null;
32 references to ChildControls
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (32)
2218public bool HasChildren => ChildControls is not null && ChildControls.Count > 0; 3433if (ChildControls is { } children) 4653if (ChildControls is { } children) 4812if (ChildControls is { } children) 4847if (ChildControls is { } children) 5504if (ChildControls is not { } children) 5594if (ChildControls is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl))) 5615ControlCollection? parentChildren = p?.ChildControls; 5674ControlCollection? siblings = parent.ChildControls ?? throw new InvalidOperationException( 5747ControlCollection? children = ctl.ChildControls; 5755children = ctl.ChildControls; 6674if (ChildControls is { } children) 6698if (ChildControls is { } children) 6741if (ChildControls is { } children) 6785if (ChildControls is { } children) 6807if (ChildControls is { } children) 6856if (ChildControls is { } children) 6897if (ChildControls is { } children) 6927if (ChildControls is { } children) 6955if (ChildControls is { } children) 7135if (DesiredVisibility && ChildControls is { } children) 7237if (ChildControls is { } children) 7257if (ChildControls is { } children) 7691if (ChildControls is { } children) 8085if (ChildControls is { } children) 9242if (ChildControls is { } children && children.Count > 0) 9526if (ChildControls is { } children) 9615if (ScaleChildren && ChildControls is { } children) 9685if (!ScaleChildren || ChildControls is not { } children) 9899if (ChildControls is { } children) 12682ArrangedElementCollection IArrangedElement.Children => ChildControls ?? ArrangedElementCollection.Empty;