1 write to Owner
System.Windows.Forms (1)
System\Windows\Forms\Control.ControlCollection.cs (1)
26Owner = owner.OrThrowIfNull();
19 references to Owner
System.Windows.Forms (19)
System\Windows\Forms\Control.ControlCollection.cs (19)
56if (Owner.CreateThreadId != value.CreateThreadId) 61CheckParentingCycle(Owner, value); 63if (value._parent == Owner) 94using (SuspendLayoutScope scope = new(Owner, performLayout: false)) 102value.AssignParent(Owner); 106if (oldParent != value._parent && (Owner._state & States.Created) != 0) 108value.SetParentHandle(Owner.InternalHandle); 121LayoutTransaction.DoLayout(Owner, value, PropertyNames.Parent); 122Owner.OnControlAdded(new ControlEventArgs(value)); 148using SuspendLayoutScope scope = new(Owner, performLayout: true); 159ControlCollection ccOther = Owner.CreateControlsInstance(); 294if (value.ParentInternal == Owner) 301LayoutTransaction.DoLayout(Owner, value, PropertyNames.Parent); 302Owner.OnControlRemoved(new ControlEventArgs(value)); 305if (Owner.GetContainerControl() is ContainerControl cc) 307cc.AfterControlRemoved(value, Owner); 382using SuspendLayoutScope scope = new(Owner); 385CommonProperties.xClearAllPreferredSizeCaches(Owner); 438LayoutTransaction.DoLayout(Owner, child, PropertyNames.ChildIndex);