Skip to main content

Tab.TabTextTemplate Property

Gets or sets a template used to display the text content of the current tab.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(null)]
public override ITemplate TabTextTemplate { 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 TabTextTemplate property to define the text content for the current tab. The template created using this property replaces the text of an individual tab.

To define the common text content for all tabs in a tab control, use the control’s ASPxTabControlBase.TabTextTemplate property.

Note

Once a template defined via the TabTextTemplate 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