Tab

ASPxRibbon.ActiveTabIndex Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

[DefaultValue(0)]
public int ActiveTabIndex { get; set; }

Property Value

Type Default Description
Int32

0

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

Remarks

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