I am working in excel VSTO add-in.
In excel, having built-in tabs, groups, and controls in the ribbon. I need to get the list of built-in controls under the View tab in c#. From that list, I need to set the value of visible/enable property for the controls.
Is there any way to achieve this?
You can't manage built-in controls on the ribbon. The best what you could do is to repurpose built-in controls or build the ribbon from scratch. Read more about repurposing built-in controls in the Temporarily Repurpose Commands on the Office Fluent Ribbon article.
The Fluent UI (aka Ribbon UI) is described in depth in the following series of articles:
See Office 2016 Help Files: Office Fluent User Interface Control Identifiers for ribbon controls IDs.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.