Skip to main content
Tab

ASPxTabControlBase.TabTemplate Property

Gets or sets a common template used to display the content of all the tabs within the current control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(null)]
public virtual ITemplate TabTemplate { get; set; }

Property Value

Type Default Description
ITemplate null

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

Remarks

The TabTemplate property defines a common content for all the tabs within a tab control. This property is virtual in the ASPxTabControlBase class and is overridden in the descendants of this class. See the ASPxTabControl.TabTemplate and ASPxPageControl.TabTemplate properties for more details.

Note

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

See Also