语言

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。

例外

该属性在当前绑定到任务对话框的按钮上设置,但该对话框刚刚开始导航到其他页面。

注解

显示对话框时,可以设置此属性。

适用于