แก้ไข

แชร์ผ่าน


TaskDialogButton.Enabled Property

Definition

Gets or sets a value indicating whether the button can respond to user interaction.

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

Property Value

true if the button can respond to user interaction; otherwise, false. The default value is true.

Exceptions

The property is set on a button that is currently bound to a task dialog, but the dialog has just started navigating to a different page.

Remarks

This property can be set while the dialog is shown.

Applies to