ThemeConfigurationDialog Constructor (IServiceProvider, WorkflowTheme)


Initializes a new instance of the ThemeConfigurationDialog class by using an IServiceProvider and WorkflowTheme.

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

public ThemeConfigurationDialog(
	IServiceProvider serviceProvider,
	WorkflowTheme theme


Type: System.IServiceProvider

The service provider that provides custom support to the ThemeConfigurationDialog.

Type: System.Workflow.ComponentModel.Design.WorkflowTheme

The WorkflowTheme to be highlighted in the theme configuration dialog box in the workflow designer.

Exception Condition

serviceProvider contains a null reference (Nothing in Visual Basic).

The theme that is highlighted in the theme configuration dialog box is the theme that is currently applied to the workflow design surface. Possible values include the default workflow theme, the operating system color theme, and any user-defined themes.

.NET Framework
Available since 3.0
Return to top