ActivityDesignerPaintEventArgs 类    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
对于 OnPaint(ActivityDesignerPaintEventArgs)、OnPaint(ActivityDesignerPaintEventArgs, Boolean)、OnPaint(ActivityDesignerPaintEventArgs) 和 OnPaint(Graphics, Boolean, AmbientTheme, ActivityDesigner) 方法以及从这些方法派生的类中的任何 OnPaint 重写版本,当在工作流设计图面上绘制这些对象时,将为它们提供数据。
public ref class ActivityDesignerPaintEventArgs : EventArgs
	public class ActivityDesignerPaintEventArgs : EventArgs
	[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityDesignerPaintEventArgs : EventArgs
	type ActivityDesignerPaintEventArgs = class
    inherit EventArgs
	[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityDesignerPaintEventArgs = class
    inherit EventArgs
	Public Class ActivityDesignerPaintEventArgs
Inherits EventArgs
		- 继承
 
- 属性
 
注解
注意
本材料讨论的类型和命名空间已废弃不用。 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型。
              OnPaint 在工作流设计图面上重绘活动设计器、字形或连接器时,将发生方法调用。 
              ActivityDesignerPaintEventArgs 指定用于绘制对象的图形以及在其中绘制对象的剪辑矩形。
构造函数
| ActivityDesignerPaintEventArgs(Graphics, Rectangle, Rectangle, ActivityDesignerTheme) | 
			 
				已过时.
			 
		用指定的图形、剪辑矩形、视区和设计器主题来初始化 ActivityDesignerPaintEventArgs 类的新实例。  | 
        	
属性
| AmbientTheme | 
			 
				已过时.
			 
		获取与工作流设计图面关联的 AmbientTheme。  | 
        	
| ClipRectangle | 
			 
				已过时.
			 
		获取要在其中进行绘制的 Rectangle。  | 
        	
| DesignerTheme | 
			 
				已过时.
			 
		获取与设计器关联的 ActivityDesignerTheme。  | 
        	
| Graphics | 
			 
				已过时.
			 
		获取用于在工作流设计图面上绘制项的 Graphics。  | 
        	
方法
| Equals(Object) | 
			 
		已过时.
	 
确定指定对象是否等于当前对象。 (继承自 Object) | 
        	
| GetHashCode() | 
			 
		已过时.
	 
作为默认哈希函数。 (继承自 Object) | 
        	
| GetType() | 
			 
		已过时.
	 
获取当前实例的 Type。 (继承自 Object) | 
        	
| MemberwiseClone() | 
			 
		已过时.
	 
创建当前 Object 的浅表副本。 (继承自 Object) | 
        	
| ToString() | 
			 
		已过时.
	 
返回表示当前对象的字符串。 (继承自 Object) |