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