This sample demonstrates the use of templates within the DevExpress MVC Navigation Bar.
Templates for the header, collapsed header and the content of a group are used in this demo. These templates are assigned by using the NavBar's SetGroupHeaderTemplateContent, SetGroupHeaderTemplateCollapsedContent and SetGroupContentTemplateContent methods, respectively. These methods contain a parameter that represents the NavBarGroupTemplateContainer object, providing settings of a templated element.
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).
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxNavigationAndLayoutDemos |