Partilhar via


RibbonControl.Enabled Property

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

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

Syntax

'Declaration
Property Enabled As Boolean
bool Enabled { get; set; }

Property Value

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

Remarks

Controls that have their Enabled properties set to false appear unavailable and cannot be used by the end user.

.NET Framework Security

See Also

Reference

RibbonControl Interface

Microsoft.Office.Tools.Ribbon Namespace