4 overrides of CanParent
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
279
public override bool
CanParent
(Control control) => false;
System\Windows\Forms\Design\TabControlDesigner.cs (1)
112
public override bool
CanParent
(Control control) => (control is TabPage && !Control.Contains(control));
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (1)
188
public override bool
CanParent
(Control control) => false;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
146
public override bool
CanParent
(Control control)
3 references to CanParent
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
773
return
CanParent
(controlDesigner.Control);
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\TabControlDesignerTests.cs (1)
72
bool result = designer.
CanParent
(control);
System\Windows\Forms\Design\ToolStripContainerDesignerTests.cs (1)
69
_designer.
CanParent
(control).Should().BeFalse();