ActivityDesignerTheme 类

定义

注意

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

在设计时环境中向设计器提供外观属性设置。

public ref class ActivityDesignerTheme : System::Workflow::ComponentModel::Design::DesignerTheme
public class ActivityDesignerTheme : System.Workflow.ComponentModel.Design.DesignerTheme
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityDesignerTheme : System.Workflow.ComponentModel.Design.DesignerTheme
type ActivityDesignerTheme = class
    inherit DesignerTheme
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityDesignerTheme = class
    inherit DesignerTheme
Public Class ActivityDesignerTheme
Inherits DesignerTheme
继承
ActivityDesignerTheme
派生
属性

注解

注释

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

设计器主题定义设计器的外观。 这包括为设计器定义的任何背景样式、前景样式、字体和图标。

如果要为设计器特有的属性提供配置功能,则可以创建自定义设计器主题。 如果未为自定义设计器指定设计器主题,则使用基类中的主题。

构造函数

名称 说明
ActivityDesignerTheme(WorkflowTheme)
已过时.

初始化 . 的 ActivityDesignerTheme实例。

属性

名称 说明
ApplyTo
已过时.

获取或设置应用设计器主题的设计器类型的非限定名称。

(继承自 DesignerTheme)
BackColorEnd
已过时.

获取或设置 Color 在对背景色使用颜色渐变时结束的结束。

BackColorStart
已过时.

获取或设置在背景上使用颜色渐变时背景的起始颜色。

BackgroundStyle
已过时.

获取或设置背景样式。

BoldFont
已过时.

获取主题的字体。

BorderColor
已过时.

获取或设置 BorderColor 主题。

BorderPen
已过时.

获取主题的 BorderPen。

BorderStyle
已过时.

获取或设置用于边框的样式。

BorderWidth
已过时.

获取边框的宽度(以像素为单位)。

ContainingTheme
已过时.

获取封装设计器主题的工作流主题。

(继承自 DesignerTheme)
DesignerGeometry
已过时.

获取设计器的几何图形。

DesignerImage
已过时.

获取与设计器关联的图像。

DesignerImagePath
已过时.

获取或设置设计器的图像路径。

DesignerType
已过时.

获取或设置与设计器主题关联的设计器的类型。

(继承自 DesignerTheme)
Font
已过时.

获取主题使用的文本的字体。

ForeColor
已过时.

获取或设置前景的颜色。

ForegroundBrush
已过时.

Brush获取与主题关联的对象。

ForegroundPen
已过时.

Pen获取用于绘制主题的前景。

ImageSize
已过时.

获取主题图像的大小。

ReadOnly
已过时.

获取一个值,该值指示设计器主题是否为只读。

(继承自 DesignerTheme)
Size
已过时.

获取设计器的大小。

方法

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

释放非托管资源,并选择性地释放 ActivityDesignerTheme使用的托管资源。

Equals(Object)
已过时.

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

(继承自 Object)
GetBackgroundBrush(Rectangle)
已过时.

获取一个画笔,该画笔用于绘制传递的矩形指定的区域。

GetHashCode()
已过时.

用作默认哈希函数。

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

获取当前实例的 Type

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

初始化设计器主题。

MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
OnAmbientPropertyChanged(AmbientProperty)
已过时.

调用以向环境设置的更改发出信号。

ToString()
已过时.

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

(继承自 Object)

显式接口实现

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

执行与释放、释放或重置非托管资源关联的应用程序定义任务。

(继承自 DesignerTheme)

适用于