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

Tab.ActiveTabTextTemplate Property

Gets or sets a template used for displaying the text content of the current tab when it’s active.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(null)]
public override ITemplate ActiveTabTextTemplate { 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 ActiveTabTextTemplate property to define the text content for the current tab when it’s in the selected state. The template created using this property replaces the active tab’s text content.

To define the common text content of an active tab in a tab control, use the control’s ASPxTabControlBase.ActiveTabTextTemplate property.

Note

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

See Also