2 writes to ChildControls
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
1364public ControlCollection Controls => ChildControls ??= CreateControlsInstance(); 4842ChildControls = null;
32 references to ChildControls
System.Windows.Forms (32)
System\Windows\Forms\Control.cs (32)
2239public bool HasChildren => ChildControls is not null && ChildControls.Count > 0; 3454if (ChildControls is { } children) 4674if (ChildControls is { } children) 4833if (ChildControls is { } children) 4868if (ChildControls is { } children) 5525if (ChildControls is not { } children) 5615if (ChildControls is { } children && children.Count > 0 && (ctl == this || !IsFocusManagingContainerControl(ctl))) 5636ControlCollection? parentChildren = p?.ChildControls; 5695ControlCollection? siblings = parent.ChildControls ?? throw new InvalidOperationException( 5768ControlCollection? children = ctl.ChildControls; 5776children = ctl.ChildControls; 6697if (ChildControls is { } children) 6721if (ChildControls is { } children) 6764if (ChildControls is { } children) 6808if (ChildControls is { } children) 6830if (ChildControls is { } children) 6879if (ChildControls is { } children) 6920if (ChildControls is { } children) 6950if (ChildControls is { } children) 6978if (ChildControls is { } children) 7158if (DesiredVisibility && ChildControls is { } children) 7260if (ChildControls is { } children) 7280if (ChildControls is { } children) 7712if (ChildControls is { } children) 8106if (ChildControls is { } children) 9263if (ChildControls is { } children && children.Count > 0) 9546if (ChildControls is { } children) 9635if (ScaleChildren && ChildControls is { } children) 9705if (!ScaleChildren || ChildControls is not { } children) 9919if (ChildControls is { } children) 12700ArrangedElementCollection IArrangedElement.Children => ChildControls ?? ArrangedElementCollection.Empty;