ActivityDesigner.GetRootDesigner(IServiceProvider) Method

Definition

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

public:
 static System::Workflow::ComponentModel::Design::ActivityDesigner ^ GetRootDesigner(IServiceProvider ^ serviceProvider);
public static System.Workflow.ComponentModel.Design.ActivityDesigner GetRootDesigner (IServiceProvider serviceProvider);
static member GetRootDesigner : IServiceProvider -> System.Workflow.ComponentModel.Design.ActivityDesigner
Public Shared Function GetRootDesigner (serviceProvider As IServiceProvider) As ActivityDesigner

Parameters

serviceProvider
IServiceProvider

An object that implements the IServiceProvider.

Returns

An ActivityDesigner that is the RootComponent of the designer host.

Applies to