Tab
A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

[DefaultValue(null)]
public virtual ITemplate TabTemplate { get; set; }
<DefaultValue(Nothing)>
Public Overridable Property TabTemplate As ITemplate

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