ActivityDesignerPaintEventArgs 類別

定義

警告

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
繼承
ActivityDesignerPaintEventArgs
屬性

備註

Note

此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的 Deprecated Types。

OnPaint 方法呼叫發生在活動設計器、字形或連接器重新繪製於工作流程設計表面時。 ActivityDesignerPaintEventArgs 指定用來繪製物件的圖形及繪製物件的裁切矩形。

建構函式

名稱 Description
ActivityDesignerPaintEventArgs(Graphics, Rectangle, Rectangle, ActivityDesignerTheme)
已淘汰.

初始化一個新實例 ActivityDesignerPaintEventArgs ,使用指定的圖形、裁剪矩形、視窗及設計器主題。

屬性

名稱 Description
AmbientTheme
已淘汰.

取得與工作流程設計表面相關的資訊 AmbientTheme

ClipRectangle
已淘汰.

Rectangle 個地方可以畫畫。

DesignerTheme
已淘汰.

ActivityDesignerTheme 設計師有關聯。

Graphics
已淘汰.

Graphics 來在工作流程設計表面繪製物品。

方法

名稱 Description
Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()
已淘汰.

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於