RibbonControl.Visible Property
Gets or sets a value that indicates whether this RibbonControl is visible.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Property Visible As Boolean
bool Visible { get; set; }
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
- 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.