Udostępnij za pośrednictwem


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

See Also

Reference

RibbonControl Interface

Microsoft.Office.Tools.Ribbon Namespace