Skip to main content

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.v23.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