Skip to main content
A newer version of this page is available. .

DashboardTabPage Class

A tab page in a TabContainerDashboardItem.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v20.2.Core.dll

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.Dashboard.Core

Declaration

public class DashboardTabPage :
    DashboardItem,
    IDashboardItemContainer,
    IInteractivityOptionsProvider,
    IMasterFilterItem

Remarks

The DashboardTabPage class is the tabbed page in the TabContainerDashboardItem. Tabbed pages are contained in the TabPages collection. Collection indexes determine the visual tab order. To change the order of tab pages, remove a tab page from a collection and insert it at a new index.

To create a new tab page and add it to the tab container, use the TabContainerDashboardItem.CreateTabPage() method. You can also create a new tab page using a simple constructor, and subsequently add it to the container.

Note

A tab page belongs to a tab container, but the DashboardTabPage.ParentContainer property is always null. A tab page cannot be placed in a dashboard item group or another tab page.

To place a dashboard item within the tab page, use the Add(DashboardItem) and AddRange(DashboardItem[]) methods.

To select a tab page in a WinForms Designer/Viewer, use the DashboardDesigner.SetSelectedTabPage and DashboardDesigner.SetSelectedTabPage methods, respectively.

Tip

Default name of a newly created tab page is “dashboardTabPage1”.

Inheritance

Object
DashboardItem
DashboardTabPage
See Also