WorkflowTheme.Load Method

Definition

Loads a WorkflowTheme.

Overloads

Load(IDesignerSerializationManager, String)

Loads a new theme from the specified path using a serialization manager.

Load(String)

Loads the theme from the specified file path.

Load(IDesignerSerializationManager, String)

Loads a new theme from the specified path using a serialization manager.

C#
public static System.Workflow.ComponentModel.Design.WorkflowTheme Load(System.ComponentModel.Design.Serialization.IDesignerSerializationManager serializationManager, string themeFilePath);

Parameters

serializationManager
IDesignerSerializationManager

The serialization manager to use to load the theme.

themeFilePath
String

The file path from which to load the theme.

Returns

A new WorkflowTheme loaded from the file path specified using the serialization manager specified.

Remarks

If your theme requires custom serialization, use this method to load your method using your custom serialization manager.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Load(String)

Loads the theme from the specified file path.

C#
public static System.Workflow.ComponentModel.Design.WorkflowTheme Load(string themeFilePath);

Parameters

themeFilePath
String

The file path of the theme.

Returns

A new WorkflowTheme loaded from the filename specified.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1