Share via


RibbonControl.Visible Property (2007 System)

Gets or sets a value that indicates whether this RibbonControl is visible.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public Overridable Property Visible As Boolean
'Usage
Dim instance As RibbonControl 
Dim value As Boolean 

value = instance.Visible

instance.Visible = value
public virtual bool Visible { get; set; }
public:
virtual property bool Visible {
    bool get ();
    void set (bool value);
}
public function get Visible () : boolean 
public function set Visible (value : boolean)

Property Value

Type: System.Boolean
true if the RibbonControl is visible; otherwise, false. Default is true.

Remarks

Controls that have their Visible properties set to false do not appear on the Ribbon. If they have been added to the Quick Access Toolbar, they remain visible even if this property is set to false.

.NET Framework Security

See Also

Reference

RibbonControl Class

RibbonControl Members

Microsoft.Office.Tools.Ribbon Namespace