Tab

ASPxPageControl.TabTextTemplate Property

Gets or sets a common template used for displaying the text content of all tabs within the current page control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

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 common text content for all tabs within the current page control. The template created using this property replaces the text content of each tab within the control.

To define the tab text content of a particular tabbed page, use the page’s TabPage.TabTextTemplate property.

NOTE

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