Skip to main content

TabControlSettingsBase.ActiveTabIndex Property

Gets or sets the index of a tab (tabbed page) which is selected within the TabControl.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public int ActiveTabIndex { get; set; }

Property Value

Type Description
Int32

An integer value specifying the index of an active tab (tabbed page) within the TabControl‘s TabControlSettings.Tabs (PageControlSettings.TabPages) collection.

Remarks

A tabbed extension (which can be either the TabControl or PageControl) allows end users to select tabs via mouse clicks. In order to make a particular tab (tabbed page) active via code use the ActiveTabIndex property. This property specifies the active tab’s index within the TabControlSettings.Tabs (PageControlSettings.TabPages) collection of a tabbed extension.

Note

A tabbed extension always has an active tab and only one tab can be active within the extension at a time.

See Also