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.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer value specifying the index of an active tab in the extension’s RibbonSettings.Tabs collection. |
Remarks
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.