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

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.v19.1.Core.dll

Declaration

[DefaultValue(null)]
public IDashboardItemContainer ParentContainer { get; set; }

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;

The following code snippets (auto-collected from DevExpress Examples) contain references to the ParentContainer property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also