Skip to main content
A newer version of this page is available. .
Tab

ASPxPageControl.ActiveTabTemplate Property

Gets or sets a common template used for displaying the content of an active tab within the current page control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(null)]
public override ITemplate ActiveTabTemplate { get; set; }

Property Value

Type Default Description
ITemplate *null*

An object supporting the System.Web.UI.ITemplate interface which contains the template.

Remarks

Use the ActiveTabTemplate property to define a common content for the current page control’s active tab. The template created using this property replaces the active tab’s content - in particular, the image and text associated with the tab.

Note that any style settings defined for the active tab via specific properties (such as the ASPxTabControlBase.ActiveTabStyle or TabBase.ActiveTabStyle) are still in effect for the tab whose contents are specified through using the ActiveTabTemplate property.

To define the tab content of a particular tabbed page in the active state, use the page’s TabPage.ActiveTabTemplate property.

Note

Once a template defined via the ActiveTabTemplate property is created within a page control, it is instantiated within a container object of the PageControlTemplateContainer type. This container object exposes a set of specific properties to which the template’s child controls can be bound.

See Also