DesignerTheme.ApplyTo 屬性

定義

取得或設定設計工具主題要套用之設計工具類型的不合格名稱。Gets or sets the unqualified name of the designer type to which the designer theme is applied.

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

屬性值

要套用設計工具主題之設計工具類型的名稱。The name of the designer type to which the designer theme is applied.

屬性

例外狀況

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

備註

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

適用於