TaskDialogButton.Enabled 屬性

定義

取得或設定值,指出按鈕是否可以回應使用者互動。

public:
 property bool Enabled { bool get(); void set(bool value); };
public bool Enabled { get; set; }
member this.Enabled : bool with get, set
Public Property Enabled As Boolean

屬性值

true 如果按鈕可以回應使用者互動,則為 ;否則為 false 。 預設值是 true

例外狀況

屬性已在目前繫結至工作對話方塊的按鈕上設定,但對話方塊剛剛開始瀏覽至其他頁面。

備註

當對話方塊顯示時,可以設定這個屬性。

適用於