DesignerTheme.DesignerType 屬性

定義

取得或設定與設計工具主題關聯的設計工具類型。Gets or sets the type of the designer associated with the designer theme.

public:
 virtual property Type ^ DesignerType { Type ^ get(); void set(Type ^ value); };
[System.ComponentModel.Browsable(false)]
public virtual Type DesignerType { get; set; }
member this.DesignerType : Type with get, set
Public Overridable Property DesignerType As Type

屬性值

Type,表示要與目前設計工具主題關聯的設計工具。A Type that represents the designer to be associated with the current designer theme.

屬性

例外狀況

ReadOnly 屬性設為 true 時,使用者嘗試了一個設定作業。A user attempted a set operation when the ReadOnly property was set to true.

備註

DesignerType 屬性使用設計工具的 Type 使設計工具主題與設計工具類型產生關聯,而 ApplyTo 屬性使用設計工具類型的不合格名稱使設計工具主題與設計工具產生關聯。The DesignerType property associates the designer theme with a designer type by using the Type of the designer, while the ApplyTo property associates the designer theme with a designer by using the unqualified name of the designer type.

此屬性可能的值包括 ActivityDesigner, CompositeActivityDesignerDesignerTheme和任何由活動設計工具開發者所建立,繼承自 的所有類別。Possible values for this property include ActivityDesigner, CompositeActivityDesigner, and any classes created by activity designer developers that inherit from DesignerTheme.

適用於