The DevExpress ASP.NET MVC Ribbon extension supports template technology, allowing you to customize an extension's appearance and layout.
To modify the appearance of the default Ribbon extension elements, use a specific template that defines how a client browser will render elements. Ribbon allows you to create templates for two elements: file tab and item.
In this demo, the SetFileTabTemplateContent method is used to replace tab text with an arrow image that invokes a popup menu. The content of a ribbon item is defined by its SetContent property.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxNavigationAndLayoutDemos