5 types derived from ParentControlDesigner
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\GroupBoxDesigner.cs (1)
14internal class GroupBoxDesigner : ParentControlDesigner
System\Windows\Forms\Design\ScrollableControlDesigner.cs (1)
13public class ScrollableControlDesigner : ParentControlDesigner
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
18internal partial class SplitContainerDesigner : ParentControlDesigner
System\Windows\Forms\Design\TabControlDesigner.cs (1)
15internal class TabControlDesigner : ParentControlDesigner
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (1)
13internal class ToolStripContainerDesigner : ParentControlDesigner
1 instantiation of ParentControlDesigner
System.Windows.Forms.Design.Tests (1)
ControlDesignerTests.cs (1)
122using ParentControlDesigner parentDesigner = new();
52 references to ParentControlDesigner
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net9.0\System.Design.Forwards.cs (1)
98[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Windows.Forms.Design.ParentControlDesigner))]
System.Windows.Forms.Design (48)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
505(designer is ParentControlDesigner) &&
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (1)
42if (_host.GetDesigner(root) is ParentControlDesigner rootDesigner)
System\Windows\Forms\Design\CommandSet.cs (12)
860if (host.GetDesigner(primaryControl.Parent!) is ParentControlDesigner parentDesigner) 1471List<ParentControlDesigner> designerList = []; 1497&& host.GetDesigner(parent) is ParentControlDesigner designer 1550foreach (ParentControlDesigner des in designerList) 1601List<ParentControlDesigner> designerList = []; 1621if (host.GetDesigner(parent) is ParentControlDesigner designer 1762foreach (ParentControlDesigner des in designerList) 1832List<ParentControlDesigner> designerList = []; 2033if (host.GetDesigner(parentComp) is ParentControlDesigner parentDesigner && !designerList.Contains(parentDesigner)) 2165if (designer is ParentControlDesigner parentControlDesigner 2183foreach (ParentControlDesigner des in designerList) 3081&& host.GetDesigner(primarySelection) is ParentControlDesigner)
System\Windows\Forms\Design\ComponentTray.cs (1)
1716if (_mainDesigner is ParentControlDesigner designer)
System\Windows\Forms\Design\ControlCommandSet.cs (2)
694ParentControlDesigner parentDesigner = host.GetDesigner(primaryControl.Parent) as ParentControlDesigner;
System\Windows\Forms\Design\ControlDesigner.cs (2)
408=> parentDesigner is ParentControlDesigner p && !Control.Contains(p.Control); 1151if (host.GetDesigner(parent) is ParentControlDesigner parentDesigner)
System\Windows\Forms\Design\DocumentDesigner.cs (5)
588private ParentControlDesigner GetSelectedParentControlDesigner() 591ParentControlDesigner parentControlDesigner = null; 632ParentControlDesigner designer = host.GetDesigner(c) as ParentControlDesigner; 1398ParentControlDesigner designer = GetSelectedParentControlDesigner();
System\Windows\Forms\Design\OleDragDropHandler.CfCodeToolboxItem.cs (1)
95if (defaultValues["Parent"] is Control parentControl && host.GetDesigner(parentControl) is ParentControlDesigner parentControlDesigner)
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
792if (Destination is ParentControlDesigner parentDesigner)
System\Windows\Forms\Design\ParentControlDesigner.cs (20)
147ParentControlDesigner parent = GetParentControlDesignerOfParent(); 194ParentControlDesigner designer = host.GetDesigner(child) as ParentControlDesigner; 223ParentControlDesigner parent = GetParentControlDesignerOfParent(); 272ParentControlDesigner designer = host.GetDesigner(child) as ParentControlDesigner; 369ParentControlDesigner parent = GetParentControlDesignerOfParent(); 410ParentControlDesigner designer = host.GetDesigner(child) as ParentControlDesigner; 761protected static void InvokeCreateTool(ParentControlDesigner toInvoke, ToolboxItem tool) 1073private ParentControlDesigner GetParentControlDesignerOfParent() 1079return (host.GetDesigner(parent) as ParentControlDesigner); 1253if (host.GetDesigner(parent) is not ParentControlDesigner parentDesigner) 2100properties["DrawGrid"] = TypeDescriptor.CreateProperty(typeof(ParentControlDesigner), "DrawGrid", typeof(bool), 2106properties["SnapToGrid"] = TypeDescriptor.CreateProperty(typeof(ParentControlDesigner), "SnapToGrid", typeof(bool), 2112properties["GridSize"] = TypeDescriptor.CreateProperty(typeof(ParentControlDesigner), "GridSize", typeof(Size), 2120properties["CurrentGridSize"] = TypeDescriptor.CreateProperty(typeof(ParentControlDesigner), "CurrentGridSize", typeof(Size), 2222ParentControlDesigner parent = GetParentControlDesignerOfParent(); 2240ParentControlDesigner parent = GetParentControlDesignerOfParent(); 2258ParentControlDesigner parent = GetParentControlDesignerOfParent();
System\Windows\Forms\Design\ParentControlDesigner.EscapeHandler.cs (2)
16private readonly ParentControlDesigner _designer; 21public EscapeHandler(ParentControlDesigner designer) => _designer = designer;
System.Windows.Forms.Design.Tests (3)
ControlDesignerTests.cs (3)
122using ParentControlDesigner parentDesigner = new(); 335Mock<ParentControlDesigner> mockParentDesigner = new(); 356Mock<ParentControlDesigner> mockParentDesigner = new();