windowsforms-devexpress-dot-xtratab-dot-tabpagechangedeventargs.md
Gets the tab page currently being processed.
Namespace : DevExpress.XtraTab
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public XtraTabPage Page { get; }
Public ReadOnly Property Page As XtraTabPage
| Type | Description |
|---|---|
| XtraTabPage |
An XtraTabPage object which represents the tab page currently being processed.
|
If the XtraTabControl.HotTrackedPageChanged event is handled, the Page property’s value represents the currently hot-tracked tab page. If the XtraTabControl.SelectedPageChanged event is handled, this property returns the currently focused tab page.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Page property.
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-spreadsheet-use-cell-range-as-data-source/CS/RangeDataSource/Form1.cs#L79
private void xtraTabControl1_SelectedPageChanged(object sender, DevExpress.XtraTab.TabPageChangedEventArgs e) {
if (e.Page == tbSheet) {
dataRibbonPage1.Visible = true;
winforms-spreadsheet-use-cell-range-as-data-source/VB/RangeDataSource/Form1.vb#L84
Private Sub xtraTabControl1_SelectedPageChanged(ByVal sender As Object, ByVal e As DevExpress.XtraTab.TabPageChangedEventArgs)
If e.Page Is tbSheet Then
dataRibbonPage1.Visible = True
See Also