ThemeConfigurationDialog Constructor (IServiceProvider^, WorkflowTheme^)
.NET Framework (current version)
Initializes a new instance of the ThemeConfigurationDialog class by using an IServiceProvider and WorkflowTheme.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
public:
ThemeConfigurationDialog(
IServiceProvider^ serviceProvider,
WorkflowTheme^ theme
)
Parameters
- serviceProvider
-
Type:
System::IServiceProvider^
The service provider that provides custom support to the ThemeConfigurationDialog.
- theme
-
Type:
System.Workflow.ComponentModel.Design::WorkflowTheme^
The WorkflowTheme to be highlighted in the theme configuration dialog box in the workflow designer.
| Exception | Condition |
|---|---|
| ArgumentNullException | 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
Available since 3.0
Show: