_CommandBarButton.Enabled 属性

定义

确定是否已启用控件。

public:
 property bool Enabled { bool get(); void set(bool value); };
public:
 property bool Enabled { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(1610874890)]
public bool Enabled { [System.Runtime.InteropServices.DispId(1610874890)] get; [System.Runtime.InteropServices.DispId(1610874890)] set; }
[<System.Runtime.InteropServices.DispId(1610874890)>]
[<get: System.Runtime.InteropServices.DispId(1610874890)>]
[<set: System.Runtime.InteropServices.DispId(1610874890)>]
member this.Enabled : bool with get, set
Public Property Enabled As Boolean

属性值

Boolean

如果已启用该控件,则为 true;否则为 false

实现

属性

注解

启用状态不会在会话之间保留。

适用于