4 overrides of CanBeParentedTo
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
24
public override bool
CanBeParentedTo
(IDesigner parentDesigner)
System\Windows\Forms\Design\TabPageDesigner.cs (1)
12
public override bool
CanBeParentedTo
(IDesigner parentDesigner) => (parentDesigner is not null && parentDesigner.Component is TabControl);
System\Windows\Forms\Design\ToolStripContentPanelDesigner.cs (1)
51
public override bool
CanBeParentedTo
(IDesigner parentDesigner)
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
152
public override bool
CanBeParentedTo
(IDesigner parentDesigner)
5 references to CanBeParentedTo
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.cs (1)
401
internal override bool CanBeAssociatedWith(IDesigner parentDesigner) =>
CanBeParentedTo
(parentDesigner);
System.Windows.Forms.Design.Tests (4)
ControlDesignerTests.cs (1)
126
_designer.
CanBeParentedTo
(parentDesigner).Should().BeTrue();
System\Windows\Forms\Design\TabPageDesignerTests.cs (2)
29
bool result = designer.
CanBeParentedTo
(mockDesigner.Object);
44
bool result = designer.
CanBeParentedTo
(mockDesigner.Object);
System\Windows\Forms\Design\ToolStripContentPanelDesignerTests.cs (1)
51
bool result = _toolStripContentPanelDesigner.
CanBeParentedTo
(parentDesigner: null!);