RibbonTab.Visible Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the tab 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
Property Value
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.