Skip to main content
Tab

TabBase.TabTemplate Property

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

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 the content for an individual tab. This property is virtual in the TabBase class and is overridden in the descendants of this class. See the Tab.TabTemplate and TabPage.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