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