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

TabContainerDashboardItem Class

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

Namespace: DevExpress.DashboardCommon

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

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

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) {
//  ...
}

Note

The complete sample project How to navigate tabs using the custom tab header buttons or set up a slide show is available in the DevExpress Examples repository.

Inheritance

Object
DashboardItem
TabContainerDashboardItem
See Also