customUI
Represents the entire custom ribbon.
This is the root tag of all Ribbon customisations.
Events (design-time)
The Load event can be accessed if you use the Visual Studio Ribbon Designer.
Attributes (properties)
| xmlns - string | must be set to: http://schemas.microsoft.com/office/2006/01/customui |
| Context | only used by Outlook. This has a Context property which can be cast to an Inspector object in Outlook. This allows you to get the inspector associated with the ribbon. Context is null for other applications. |
| Global | The Global property can be set to false to force every Inspector window created is associated with a unique ribbon instance |
| Tabs | returns all the tabs associated with the ribbon |
Children
| ribbon | |
| commands | This can be used to repurpose built-in controls |
Callbacks (run-time)
| Close | |
| onLoad | passes a ribbon parameter to the callback procedure as the Ribbon loads. This enables the associated code to store a reference to the Ribbon for later use and allows you to dynamically update the Ribbon. |
| loadImage | enables you to create a single procedure that loads all the images required for the Ribbon. |
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext