RibbonTab.Visible Property (2007 System)
Gets or sets a value that indicates whether the tab 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 Property Visible As Boolean
'Usage
Dim instance As RibbonTab
Dim value As Boolean
value = instance.Visible
instance.Visible = value
public bool Visible { get; set; }
public:
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 tab is visible; otherwise, false. The default is true.
Remarks
For custom tabs, the Visible property can be set at design time, or at run time before the Ribbon is loaded. To display a RibbonTab, there must be at least one visible group.
For Office built-in tabs, this property can be set only at design time.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace