_CommandBarButton.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

属性值

实现

注解

如果将 Enabled 属性设置为 True,应用程序将确定命令栏控件的状态;将其设置为 False 将强制禁用控件。

适用于