Skip to main content
A newer version of this page is available. .

DXTabControl.SelectNext() Method

Selects the next tab item.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public virtual void SelectNext()

Remarks

The currently selected tab item is specified by the DXTabControl.SelectedItem property. To select tab items displayed before and after this tab item, use the DXTabControl.SelectPrev and DXTabControl.SelectNext methods, respectively.

Before a tab item is selected, the tab control fires the DXTabControl.SelectionChanging event, allowing you to cancel the action. After the item has been selected, the DXTabControl.SelectionChanged event is fired.

See Also