ActivityDesigner.GetRootDesigner Method (IServiceProvider)

 

Returns the designer associated with the design surface of the workflow.

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

public static ActivityDesigner GetRootDesigner(
	IServiceProvider serviceProvider
)

Parameters

serviceProvider
Type: System.IServiceProvider

An object that implements the IServiceProvider.

Return Value

Type: System.Workflow.ComponentModel.Design.ActivityDesigner

An ActivityDesigner that is the RootComponent of the designer host.

.NET Framework
Available since 3.0
Return to top
Show: