8 writes to Parent
System.Windows.Forms.Tests (8)
System\Windows\Forms\SplitterPanelTests.cs (8)
217Parent = parent 278Parent = parent 723Parent = value 729control.Parent = value; 749control.Parent = parent; 754control.Parent = parent; 759control.Parent = null; 765control.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)
24mockDesignerHost.Setup(dh => dh.GetDesigner(splitterPanel.Parent!)).Returns(splitContainerDesigner);
System.Windows.Forms.Tests (7)
System\Windows\Forms\SplitterPanelTests.cs (7)
83Assert.Null(control.Parent); 725Assert.Same(value, control.Parent); 730Assert.Same(value, control.Parent); 750Assert.Same(parent, control.Parent); 755Assert.Same(parent, control.Parent); 760Assert.Null(control.Parent); 766Assert.Same(parent, control.Parent);