Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.


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

Supported in: 4.6, 4.5, 4, 3.5, 3.0
© 2015 Microsoft