ToolBarButton.Visible 属性
定义
获取或设置一个值,该值指示工具栏按钮是否可见。Gets or sets a value indicating whether the toolbar button is visible.
public:
property bool Visible { bool get(); void set(bool value); };
public bool Visible { get; set; }
member this.Visible : bool with get, set
Public Property Visible As Boolean
属性值
如果工具栏按钮是可见的,则为 true;否则为 false。true if the toolbar button is visible; otherwise, false. 默认值为 true。The default is true.
注解
如果看不到工具栏按钮,则它不会显示在工具栏上,因此无法接收用户输入。If the toolbar button is not visible, it will not be displayed on the toolbar, and therefore cannot receive user input.