RibbonSettings.ActiveTabIndex Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll


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

Property Value

Type Description

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


The ribbon extension 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 RibbonSettings.Tabs collection of the ASP.NET MVC extension.

Note that only one tab at a time can be active within the Ribbon extension.

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

See Also