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
- 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.