Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXTabControl.SelectPrev() Method

In This Article

Selects the previous tab item.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public virtual void SelectPrev()

#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