Επεξεργασία

Κοινή χρήση μέσω


ActivityDesigner.ParentDesigner Property

Definition

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.

Applies to