Skip to main content

TabContainerDashboardItem Class

A tab container used to arrange dashboard items and groups within a dashboard.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.1.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public class TabContainerDashboardItem :
    DashboardItem

Remarks

A tab container is a dashboard item that stores tab pages.

You can create a tab container using a simple constructor and add tab pages to the TabPages collection. Dashboard items and groups are located within tab pages.

A tab container should be added to the Dashboard.Items collection.

A tab container cannot be placed in other dashboard item containers and its ParentContainer property is always null.

Tip

The default name of a newly created container is “tabContainerDashboardItem1”.

View Example: How to navigate tabs using the custom tab header buttons or set up a slide show

The following code determines whether a dashboard contains a tab container:

TabContainerDashboardItem tabContainer = dashboard.Items.SingleOrDefault(i => i is TabContainerDashboardItem) as TabContainerDashboardItem;
if (tabContainer != null) {
//  ...
}

Inheritance

Object
DashboardItem
TabContainerDashboardItem
See Also