1 implementation of Parent
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ComponentDesigner.cs (1)
220
IDesigner? ITreeDesigner.
Parent
14 references to Parent
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\CommandSet.cs (6)
1659
IDesigner? parentDesigner = designer.
Parent
;
1697
if (host.GetDesigner(c) is ITreeDesigner designer && host.GetDesigner(commonParent) is ITreeDesigner commonParentDesigner && designer.
Parent
!= commonParentDesigner)
1704
while (designer.
Parent
is ITreeDesigner parent)
1928
if (tree == tree.
Parent
)
1933
tree = tree.
Parent
as ITreeDesigner;
2016
ComponentDesigner? parentCompDesigner = ((ITreeDesigner)cDesigner).
Parent
as ComponentDesigner;
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\ComponentDesignerTests.cs (8)
413
Assert.Same(rootComponent is null ? null : designer, treeDesigner.
Parent
);
419
Assert.Same(rootComponent is null ? null : designer, treeDesigner.
Parent
);
441
Assert.Null(treeDesigner.
Parent
);
446
Assert.Null(treeDesigner.
Parent
);
467
Assert.Null(treeDesigner.
Parent
);
471
Assert.Null(treeDesigner.
Parent
);
529
Assert.Null(treeDesigner.
Parent
);
533
Assert.Null(treeDesigner.
Parent
);