_CommandBarButton.Enabled 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回或设置一个值,该值指示是否启用了指定的命令栏控件。
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 将强制禁用控件。
适用于