ActivityDesignerLayoutEventArgs ActivityDesignerLayoutEventArgs ActivityDesignerLayoutEventArgs ActivityDesignerLayoutEventArgs Class



此 API 現已淘汰。

提供 ActivityDesigner 的配置事件資料。Provides data for the layout event for the ActivityDesigner.

public ref class ActivityDesignerLayoutEventArgs : EventArgs
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityDesignerLayoutEventArgs : EventArgs
type ActivityDesignerLayoutEventArgs = class
    inherit EventArgs
Public Class ActivityDesignerLayoutEventArgs
Inherits EventArgs



此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

當設計工具的大小或位置變更或當設計工具包含的元件變更時,會發生配置事件。The layout event occurs when the size or position of the designer or its contained components change. ActivityDesignerLayoutEventArgs 包含用來進行配置變更的圖像以及用於外觀及操作的設計工具主題。The ActivityDesignerLayoutEventArgs contains the graphics used to make layout changes and the designer theme to use for look and feel.


ActivityDesignerLayoutEventArgs(Graphics, ActivityDesignerTheme) ActivityDesignerLayoutEventArgs(Graphics, ActivityDesignerTheme) ActivityDesignerLayoutEventArgs(Graphics, ActivityDesignerTheme) ActivityDesignerLayoutEventArgs(Graphics, ActivityDesignerTheme)

使用指定的圖形和設計工具主題來初始化 ActivityDesignerLayoutEventArgs 類別的新執行個體。Initializes a new instance of the ActivityDesignerLayoutEventArgs class with the specified graphics and designer theme.


AmbientTheme AmbientTheme AmbientTheme AmbientTheme

取得與根目錄工作流程關聯的 AmbientThemeGets the AmbientTheme associated with the root workflow.

DesignerTheme DesignerTheme DesignerTheme DesignerTheme

取得與設計工具關聯的 ActivityDesignerThemeGets the ActivityDesignerTheme associated with the designer.

Graphics Graphics Graphics Graphics

取得用於配置設計工具的 GraphicsGets the Graphics used to lay out the designer.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)