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

XtraTabControl.MakePageVisible(XtraTabPage) Method

Makes the header of the specified page visible on-screen if it’s currently invisible.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void MakePageVisible(
    XtraTabPage page
)

#Parameters

Name Type Description
page XtraTabPage

An XtraTabPage object which represents the tab page.

#Remarks

The MakePageVisible method scrolls the tab control’s headers so that the specified page’s header is visible onscreen if it’s currently invisible.

Calling this method will have no effect in the cases listed below:

  • the tab page specified is already visible onscreen;
  • the tab pages are automatically stretched to fill the empty space in a tab row (the tab control’s XtraTabControl.HeaderAutoFill property is set to ‘True’);
  • the tab page specified is a null reference or isn’t present in the tab control’s XtraTabControl.TabPages collection.

Note: if the specified page is hidden (its XtraTabPage.PageVisible property is set to false) the MakePageVisible method does nothing.

See Also