ActivityDesigner.ParentDesigner Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the parent designer of the existing designer.
public:
property System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ ParentDesigner { System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ get(); };
public System.Workflow.ComponentModel.Design.CompositeActivityDesigner ParentDesigner { get; }
member this.ParentDesigner : System.Workflow.ComponentModel.Design.CompositeActivityDesigner
Public ReadOnly Property ParentDesigner As CompositeActivityDesigner
Property Value
The parent designer of the existing designer. If the ActivityDesigner is a root designer then the CompositeActivityDesigner returned will be the SequentialWorkflowRootDesigner; otherwise, the ActivityDesigner will be the parent ActivityDesigner.
Remarks
You can use the ParentDesigner to move up the tree of nested ActivityDesigner objects or to find the root designer.