8 writes to Parent
System.Windows.Forms.Tests (8)
System\Windows\Forms\SplitterPanelTests.cs (8)
219Parent = parent 280Parent = parent 725Parent = value 731control.Parent = value; 751control.Parent = parent; 756control.Parent = parent; 761control.Parent = null; 767control.Parent = parent;
14 references to Parent
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
410if (panel is not null && panel.Parent == _splitContainer)
System\Windows\Forms\Design\SplitterPanelDesigner.cs (5)
29protected override InheritanceAttribute? InheritanceAttribute => _splitterPanel is not null && _splitterPanel.Parent is not null 30? (InheritanceAttribute?)TypeDescriptor.GetAttributes(_splitterPanel.Parent)[typeof(InheritanceAttribute)] 111_splitContainerDesigner = (SplitContainerDesigner?)_designerHost?.GetDesigner(_splitterPanel.Parent!); 119if (lockedProp is not null && _splitterPanel.Parent is SplitContainer) 127if (_splitterPanel?.Parent is null)
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\SplitterPanelDesignerTests.cs (1)
22mockDesignerHost.Setup(dh => dh.GetDesigner(splitterPanel.Parent!)).Returns(splitContainerDesigner);
System.Windows.Forms.Tests (7)
System\Windows\Forms\SplitterPanelTests.cs (7)
85Assert.Null(control.Parent); 727Assert.Same(value, control.Parent); 732Assert.Same(value, control.Parent); 752Assert.Same(parent, control.Parent); 757Assert.Same(parent, control.Parent); 762Assert.Null(control.Parent); 768Assert.Same(parent, control.Parent);