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

TabControlSelectionChangedEventArgs Class

Provides data for the DXTabControl.SelectionChanged event.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public class TabControlSelectionChangedEventArgs :
    EventArgs

#Remarks

The DXTabControl.SelectionChanged event is raised after a tab item has been selected. The TabControlSelectionChangedEventArgs provides the TabControlSelectionChangedEventArgs.OldSelectedIndex property that returns the index of the previously selected item. The index of the selected tab item is returned by the DXTabControl.SelectedIndex property.

To cancel selecting the tab item, handle the DXTabControl.SelectionChanging event, raised before the tab item is selected.

#Inheritance

Object
EventArgs
TabControlSelectionChangedEventArgs
See Also