A newer version of this page is available. Switch to the current version.

XtraTabControl.SelectedPageChanged Event

Fires after a new XtraTabControl page has been selected.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v19.1.dll


public event TabPageChangedEventHandler SelectedPageChanged

Event Data

The SelectedPageChanged event's data class is TabPageChangedEventArgs. The following properties provide information specific to this event:

Property Description
Page Gets the tab page currently being processed.
PrevPage Gets the previously processed tab page.


An XtraTabControl selects a page when a user clicks this page header or uses keyboard navigation, or when the code-behind modifies the XtraTabControl.SelectedTabPage or XtraTabControl.SelectedTabPageIndex properties.

The event parameter’s TabPageChangedEventArgs.Page and TabPageChangedEventArgs.PrevPage properties allow you to identify the currently selected page, and a page that was selected before.

If you enable animation effects that follow page transitions (see XtraTabControl.Transition), the XtraTabControl.SelectedPageChangeAnimationCompleted event fires when the animation completes.

See Also