WorkflowTheme 类

定义

注意

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

为设计时环境中的工作流提供外观属性设置。

public ref class WorkflowTheme sealed : IDisposable
public sealed class WorkflowTheme : IDisposable
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowTheme : IDisposable
type WorkflowTheme = class
    interface IDisposable
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowTheme = class
    interface IDisposable
Public NotInheritable Class WorkflowTheme
Implements IDisposable
继承
WorkflowTheme
属性
实现

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

工作流主题定义工作流设计图面的外观。 这包括为工作流定义的背景样式、前景样式、字体和图标。

A WorkflowTheme 是针对特定工作流定义的主题。 如果不需要特定工作流主题,该 AmbientTheme 类可用于默认属性。

构造函数

名称 说明
WorkflowTheme()
已过时.

初始化 WorkflowTheme 类的新实例。

属性

名称 说明
AmbientTheme
已过时.

获取与 AmbientTheme . WorkflowTheme.

ContainingFileDirectory
已过时.

获取 . 的 FilePath目录部分。

CurrentTheme
已过时.

获取或设置当前主题。

Description
已过时.

获取或设置主题的说明。

DesignerThemes
已过时.

获取与工作流关联的设计器主题的列表。

EnableChangeNotification
已过时.

获取或设置一个值,该值指示是否启用更改通知。

FilePath
已过时.

获取或设置主题的文件路径。

LookupPath
已过时.

从注册表获取文件路径。

Name
已过时.

获取或设置主题的名称。

ReadOnly
已过时.

获取或设置一个值,该值指示工作流主题是否为只读。

RegistryKeyPath
已过时.

获取主题的注册表项路径。

StandardThemes
已过时.

获取标准主题的列表。

Type
已过时.

获取主题的类型。

Version
已过时.

获取或设置主题的版本。

方法

名称 说明
Clone()
已过时.

创建重复的主题。

CreateStandardTheme(ThemeType)
已过时.

创建标准主题。

Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
Finalize()
已过时.

在派生类中重写时,允许对象确定性地清理任何资源。

GenerateThemeFilePath()
已过时.

为主题生成文件路径。

GetDesignerTheme(ActivityDesigner)
已过时.

获取指定 ActivityDesigner主题。

GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
Load(IDesignerSerializationManager, String)
已过时.

使用序列化管理器从指定路径加载新主题。

Load(String)
已过时.

从指定的文件路径加载主题。

LoadThemeSettingFromRegistry()
已过时.

从注册表加载主题。

MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
Save(String)
已过时.

将主题保存到文件中。

SaveThemeSettingToRegistry()
已过时.

将主题保存到注册表。

ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

活动

名称 说明
ThemeChanged
已过时.

在主题更改时发生。

显式接口实现

名称 说明
IDisposable.Dispose()
已过时.

释放由 <a0/a0> 使用的托管资源。

适用于