Skip to main content

ASPxTabControl.ActiveTab Property

Gets or sets the active tab within the ASPxTabControl.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public Tab ActiveTab { get; set; }

Property Value

Type Description

A Tab object representing the selected tab.


The ASPxTabControl allows end users to select tabs via mouse clicks. The tab control also provides the ability to make tabs active via code. You can use the ActiveTab property for this purpose.

Note that a tab control always has the active tab and only one tab can be active within a tab control at the same time.

In order to make a tab, specified by its index within the ASPxTabControl.Tabs collection active, use the ASPxTabControlBase.ActiveTabIndex property.

See Also