Back to Devexpress

ASPxTabControlBase.SpaceBeforeTabsTemplate Property

aspnet-devexpress-dot-web-dot-aspxtabcontrolbase-5758bec2.md

latest2.5 KB
Original Source

ASPxTabControlBase.SpaceBeforeTabsTemplate Property

Gets or sets a template, used for rendering the space before tabs.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
ITemplatenull

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

|

Remarks

Use the SpaceBeforeTabsTemplate property to create a template that defines the manner in which the space before tabs is rendered.

Note

If the ASPxTabControlBase.EnableTabScrolling option is enabled, the template specified in SpaceBeforeTabsTemplate is not in effect.

Note that any style settings specified via the ASPxTabControlBase.SpaceBeforeTabsTemplateStyle property is in effect for the template contents.

Note

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

Limitation

  • The SpaceBeforeTabsTemplate property is in effect when the TabAlign property is set to Center or Right.

See Also

SpaceAfterTabsTemplate

SpaceBeforeTabsTemplateStyle

Page Control and Tab Control

ASPxTabControlBase Class

ASPxTabControlBase Members

DevExpress.Web Namespace