Back to Devexpress

DashboardViewer.SelectedTabPageChanged Event

dashboard-devexpress-dot-dashboardwin-dot-dashboardviewer-e78ca3b1.md

latest3.4 KB
Original Source

DashboardViewer.SelectedTabPageChanged Event

Occurs when the selected tab page is changed.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public event SelectedTabPageChangedEventHandler SelectedTabPageChanged
vb
Public Event SelectedTabPageChanged As SelectedTabPageChangedEventHandler

Event Data

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

PropertyDescription
PageGets a tab page that is selected.
PrevPageGets the tab page that was selected.
TabContainerGets the name of the tab container that contains the selected tab page.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedTabPageChanged event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-dashboard-viewer-tab-navigation-buttons-tab-animation/CS/DashboardNextPrevTab/ViewerForm.cs#L22

csharp
dashboardViewer.CustomizeDashboardTitle += DashboardViewerCustomizeDashboardTitle;
dashboardViewer.SelectedTabPageChanged += DashboardViewerSelectedTabPageChanged;
dashboardViewer.UpdateDashboardTitle();

winforms-dashboard-viewer-tab-navigation-buttons-tab-animation/VB/DashboardNextPrevTab/ViewerForm.vb#L26

vb
AddHandler dashboardViewer.CustomizeDashboardTitle, AddressOf DashboardViewerCustomizeDashboardTitle
AddHandler dashboardViewer.SelectedTabPageChanged, AddressOf DashboardViewerSelectedTabPageChanged
dashboardViewer.UpdateDashboardTitle()

Implements

SelectedTabPageChanged

See Also

DashboardViewer Class

DashboardViewer Members

DevExpress.DashboardWin Namespace