RibbonControl.Enabled Property
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 this RibbonControl is enabled.
public:
property bool Enabled { bool get(); void set(bool value); };
C#
public bool Enabled { get; set; }
member this.Enabled : bool with get, set
Public Property Enabled As Boolean
true
if the RibbonControl is enabled; otherwise, false
.
Controls that have their Enabled properties set to false
appear unavailable and cannot be used by the end user.
Product | Versions |
---|---|
Visual Studio Tools for Office | 2017, 2019, 2022 |