All docs
V18.2
19.1 (preview)
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DashboardItem.ParentContainer Property

Gets or sets the dashboard item container (a group or a tab page) that stores the current item.

Namespace: DevExpress.DashboardCommon

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

Declaration

public IDashboardItemContainer ParentContainer { get; set; }
Public Property ParentContainer As IDashboardItemContainer

Property Value

Type Default Description
IDashboardItemContainer

null

A dashboard item group or tab page that stores the current item.

Remarks

Use the ParentContainer property to move an item from one group / tab page to another.

The following code moves the item named list1 to a tab page that contains the card1 item.

Note

The complete sample project How to Create and Modify Dashboard Items and Tab Pages is available in the DevExpress Examples repository.

dashboard.Items["card1"].ParentContainer = dashboard.Items["list1"].ParentContainer;
See Also