ActivityDesigner.ParentDesigner Property

Definition

Gets the parent designer of the existing designer.

C#
public System.Workflow.ComponentModel.Design.CompositeActivityDesigner ParentDesigner { get; }

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1