RibbonControl.Enabled Property

Definition

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

C#
public bool Enabled { get; set; }

Property Value

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.

Applies to

Product Versions
Visual Studio Tools for Office 2017, 2019, 2022