ActivityDesigner.ParentDesigner Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the parent designer of the existing designer.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public CompositeActivityDesigner ParentDesigner { get; }

Property Value

Type: System.Workflow.ComponentModel.Design.CompositeActivityDesigner

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.

You can use the ParentDesigner to move up the tree of nested ActivityDesigner objects or to find the root designer.

.NET Framework
Available since 3.0
Return to top