CommandBar.Visible 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定命令栏是否可见。
public:
property bool Visible { bool get(); void set(bool value); };
public:
property bool Visible { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(1610874910)]
public bool Visible { [System.Runtime.InteropServices.DispId(1610874910)] get; [System.Runtime.InteropServices.DispId(1610874910)] set; }
[<System.Runtime.InteropServices.DispId(1610874910)>]
[<get: System.Runtime.InteropServices.DispId(1610874910)>]
[<set: System.Runtime.InteropServices.DispId(1610874910)>]
member this.Visible : bool with get, set
Public Property Visible As Boolean
属性值
true 如果命令栏可见,则为; 否则为 fals e。
- 属性
注解
如果更改菜单栏或禁用的命令栏的可见性,则此属性将引发 InvalidOperationException 。