8 writes to Parent
System.Windows.Forms.Tests (8)
System\Windows\Forms\SplitterPanelTests.cs (8)
217
Parent
= parent
278
Parent
= parent
723
Parent
= value
729
control.
Parent
= value;
749
control.
Parent
= parent;
754
control.
Parent
= parent;
759
control.
Parent
= null;
765
control.
Parent
= parent;
14 references to Parent
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
410
if (panel is not null && panel.
Parent
== _splitContainer)
System\Windows\Forms\Design\SplitterPanelDesigner.cs (5)
29
protected 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
!);
119
if (lockedProp is not null && _splitterPanel.
Parent
is SplitContainer)
127
if (_splitterPanel?.
Parent
is null)
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\SplitterPanelDesignerTests.cs (1)
24
mockDesignerHost.Setup(dh => dh.GetDesigner(splitterPanel.
Parent
!)).Returns(splitContainerDesigner);
System.Windows.Forms.Tests (7)
System\Windows\Forms\SplitterPanelTests.cs (7)
83
Assert.Null(control.
Parent
);
725
Assert.Same(value, control.
Parent
);
730
Assert.Same(value, control.
Parent
);
750
Assert.Same(parent, control.
Parent
);
755
Assert.Same(parent, control.
Parent
);
760
Assert.Null(control.
Parent
);
766
Assert.Same(parent, control.
Parent
);