Templates
ASPxTabControl and ASPxPageControl support template technology, allowing you to completely customize the tab header appearance. The look of the tabs can be completely modified by creating a specific template, defining how an element will be rendered by a client browser.
The controls allow you to create templates for active and inactive tabs. You can apply templates for all tabs within a control (using control level templates) or for a particular tab (using tab level templates). Note that templates created at a tab level override control level templates.
The table below lists the members used to create templates within ASPxTabControl.
Tab level templates | Control level templates | |
---|---|---|
Active tab content templates | Tab. |
ASPx |
Inactive tab content templates | Tab. |
ASPx |
Active tab text templates | Tab. |
ASPx |
Inactive tab text templates | Tab. |
ASPx |
The table below lists the members used to create templates within ASPxPageControl.
Tab level templates | Control level templates | |
---|---|---|
Active tab content templates | Tab |
ASPx |
Inactive tab content templates | Tab |
ASPx |
Active tab content templates | Tab |
ASPx |
Inactive tab content templates | Tab |
ASPx |
Additionally you can create templates for the space before tabs (ASPxTabControlBase.SpaceBeforeTabsTemplate) and the space after tabs (ASPxTabControlBase.SpaceAfterTabsTemplate).