This sample demonstrates the use templates within the DevExpress MVC PageControl extension.

A tab template and an active tab template are used in this demo. These templates are assigned by using the Tab extension's SetTabTemplateContent and SetActiveTabTemplateContent methods, respectively. These methods contain a parameter that represents the TabTemplateContainer object, providing settings for a templated tab object.

Collapse/Expand
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).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxNavigationAndLayoutDemos