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