DesignerTheme 类 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
为在工作流设计时环境中使用的所有活动设计器主题类提供基类实现。
public ref class DesignerTheme abstract : IDisposable
	[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ThemeTypeConverter))]
public abstract class DesignerTheme : IDisposable
	[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ThemeTypeConverter))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class DesignerTheme : IDisposable
	[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ThemeTypeConverter))>]
type DesignerTheme = class
    interface IDisposable
	[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ThemeTypeConverter))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type DesignerTheme = class
    interface IDisposable
	Public MustInherit Class DesignerTheme
Implements IDisposable
		- 继承
 - 
				DesignerTheme
 
- 派生
 
- 属性
 
- 实现
 
注解
注意
本材料讨论的类型和命名空间已废弃不用。 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型。
为 ActivityDesigner 类提供主题属性设置的所有类必须继承于 DesignerTheme 类。 设计器主题提供一组属性值,这些值用于显示工作流设计图面上所显示的设计器类的背景和前景颜色与样式、字体以及其他样式设置。
AmbientTheme 类也继承自 DesignerTheme。
构造函数
| DesignerTheme(WorkflowTheme) | 
			 
				已过时.
			 
		在派生类中实现时,使用 DesignerTheme 对象初始化 WorkflowTheme 类的新实例。  | 
        	
属性
| ApplyTo | 
			 
				已过时.
			 
		获取或设置对其应用设计器主题的设计器类型的非限定名称。  | 
        	
| ContainingTheme | 
			 
				已过时.
			 
		获取包装设计器主题的工作流主题。  | 
        	
| DesignerType | 
			 
				已过时.
			 
		获取或设置与设计器主题关联的设计器的类型。  | 
        	
| ReadOnly | 
			 
				已过时.
			 
		获取一个值,该值指示设计器主题是否为只读。  | 
        	
方法
| Dispose(Boolean) | 
			 
				已过时.
			 
		释放由 DesignerTheme 占用的非托管资源,还可以另外再释放托管资源。  | 
        	
| Equals(Object) | 
			 
		已过时.
	 
确定指定对象是否等于当前对象。 (继承自 Object) | 
        	
| Finalize() | 
			 
				已过时.
			 
		允许 DesignerTheme 在由垃圾回收过程回收资源之前尝试释放资源并执行其他清理操作。  | 
        	
| GetHashCode() | 
			 
		已过时.
	 
作为默认哈希函数。 (继承自 Object) | 
        	
| GetType() | 
			 
		已过时.
	 
获取当前实例的 Type。 (继承自 Object) | 
        	
| Initialize() | 
			 
				已过时.
			 
		执行由 DesignerTheme(WorkflowTheme) 执行的初始化任务之外的其他初始化任务。  | 
        	
| MemberwiseClone() | 
			 
		已过时.
	 
创建当前 Object 的浅表副本。 (继承自 Object) | 
        	
| OnAmbientPropertyChanged(AmbientProperty) | 
			 
				已过时.
			 
		向设计器主题类通知设计器的环境属性设置已发生更改。  | 
        	
| ToString() | 
			 
		已过时.
	 
返回表示当前对象的字符串。 (继承自 Object) | 
        	
显式接口实现
| IDisposable.Dispose() | 
			 
				已过时.
			 
		执行与释放或重置非托管资源关联的应用程序定义的任务。  |