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)
7 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 (6)
ControlDesignerTests.cs (1)
124
_designer.
CanBeParentedTo
(parentDesigner).Should().BeTrue();
System\Windows\Forms\Design\TabPageDesignerTests.cs (2)
27
bool result = designer.
CanBeParentedTo
(mockDesigner.Object);
42
bool result = designer.
CanBeParentedTo
(mockDesigner.Object);
System\Windows\Forms\Design\ToolStripContentPanelDesignerTests.cs (1)
49
bool result = _toolStripContentPanelDesigner.
CanBeParentedTo
(parentDesigner: null!);
System\Windows\Forms\Design\ToolStripPanelDesignerTests.cs (2)
96
_designer.
CanBeParentedTo
(mockDesigner.Object).Should().BeFalse();
104
_designer.
CanBeParentedTo
(mockDesigner.Object).Should().BeTrue();