4 overrides of CanBeParentedTo
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
24public override bool CanBeParentedTo(IDesigner parentDesigner)
System\Windows\Forms\Design\TabPageDesigner.cs (1)
12public override bool CanBeParentedTo(IDesigner parentDesigner) => (parentDesigner is not null && parentDesigner.Component is TabControl);
System\Windows\Forms\Design\ToolStripContentPanelDesigner.cs (1)
51public override bool CanBeParentedTo(IDesigner parentDesigner)
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
152public override bool CanBeParentedTo(IDesigner parentDesigner)
5 references to CanBeParentedTo
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.cs (1)
401internal 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)
29bool result = designer.CanBeParentedTo(mockDesigner.Object); 44bool result = designer.CanBeParentedTo(mockDesigner.Object);
System\Windows\Forms\Design\ToolStripContentPanelDesignerTests.cs (1)
51bool result = _toolStripContentPanelDesigner.CanBeParentedTo(parentDesigner: null!);