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

ASPxRibbon.ActiveTabIndex Property

Gets or sets the index of a tab which is selected within the control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public int ActiveTabIndex { get; set; }
Public Property ActiveTabIndex As Integer

Property Value

Type Default Description


An integer value specifying the index of an active tab in the control's ASPxRibbon.Tabs collection.


A ribbon control allows end users to select tabs via mouse clicks. To make a particular tab active via code, use the ActiveTabIndex property. This property specifies the active tab's index in the ASPxRibbon.Tabs collection of the control.

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

On the client side, you can manage an active tab using the ASPxClientRibbon.GetActiveTab, ASPxClientRibbon.SetActiveTab, and ASPxClientRibbon.SetActiveTabIndex methods.

See Also