DesignerView 類別

定義

警告

此 API 現已淘汰。

以關於 CompositeActivityDesigner 或繼承類別支援之檢視的資訊儲存機制進行服務。Serves as a repository for information about the views supported by the CompositeActivityDesigner or classes that inherit from it.

public ref class DesignerView
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class DesignerView
type DesignerView = class
Public Class DesignerView
繼承
DesignerView
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。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.

建構函式

DesignerView(Int32, String, Image)

使用整數、字串和 DesignerViewImage來初始化 類別的新執行個體。Initializes a new instance of the DesignerView class by using an integer, a string, and an Image.

DesignerView(Int32, String, Image, ActivityDesigner)

使用整數、字串、DesignerViewImage 來初始化 ActivityDesigner 類別的新執行個體。Initializes a new instance of the DesignerView class by using an integer, a string, an Image, and an ActivityDesigner.

屬性

AssociatedDesigner

取得與設計工具檢視關聯的活動設計工具。Gets the activity designer associated with the designer view.

Image

取得與設計工具檢視關聯的影像。Gets the image associated with the designer view.

Text

取得設計工具檢視的名稱。Gets the name of the designer view.

UserData

取得與設計工具檢視關聯的使用者資料字典。Gets the dictionary of user data associated with the designer view.

ViewId

取得與設計工具檢視關聯的識別項。Gets the identifier associated with the designer view.

方法

Equals(Object)

判斷指定的 Object 和目前的設計工具檢視是否相等。Determines whether the specified Object is equal to the current designer view.

GetHashCode()

以雜湊函式的方式提供給 DesignerView 且適用於雜湊演算法和資料結構 (如雜湊資料表)。Serves as a hash function for the DesignerView and is suitable for use in hashing algorithms and data structures like a hash table.

GetType()

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

(繼承來源 Object)
MemberwiseClone()

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

(繼承來源 Object)
OnActivate()

當啟用檢視時通知設計工具。Notifies the designer when the view is activated.

OnDeactivate()

當停用檢視時通知設計工具。Notifies the designer when the view is deactivated.

ToString()

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

(繼承來源 Object)

適用於