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
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

OnPaint 方法呼叫會在工作流程設計介面上重新繪製活動設計工具、圖像或連接器時發生。 ActivityDesignerPaintEventArgs 會指定用來繪製物件的圖形,以及要在其中繪製的裁剪矩形。

建構函式

ActivityDesignerPaintEventArgs(Graphics, Rectangle, Rectangle, ActivityDesignerTheme)
已淘汰.

使用指定的圖形、裁剪方框、檢視區 (Viewport) 和設計工具主題,初始化 ActivityDesignerPaintEventArgs 類別的新執行個體。

屬性

AmbientTheme
已淘汰.

取得 AmbientTheme,與工作流程設計介面關聯。

ClipRectangle
已淘汰.

取得要在其中繪製的 Rectangle

DesignerTheme
已淘汰.

取得與設計工具關聯的 ActivityDesignerTheme

Graphics
已淘汰.

取得 Graphics,用於在工作流程設計介面上繪製項目。

方法

Equals(Object)
已淘汰.

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

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

做為預設雜湊函式。

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

取得目前執行個體的 Type

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

建立目前 Object 的淺層複製。

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

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

(繼承來源 Object)

適用於