DashboardItem Class
Serves as the base class for dashboard items.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v21.2.Core.dll
Declaration
public abstract class DashboardItem :
IDashboardComponent,
IComponent,
IDisposable,
ISupportInitialize,
IChangeService,
ISupportPrefix,
ICurrencyCultureNameProvider,
IFiltersProvider,
ICustomPropertyProvider
Remarks
Dashboard items are UI elements used to display data within the Dashboard. The DashboardItem class provides basic functionality for all types of dashboard items. All dashboard items can be divided into the following groups.
- data-aware dashboard items that display data from the dashboard data source (DataDashboardItem class descendants);
- static dashboard items that can display images (for instance, ImageDashboardItem);
- a group / tab container used to arrange dashboard items within a dashboard (DashboardItemGroup/TabContainerDashboardItem).
The Dashboard.Items property provides access to a collection of items within a dashboard, while the DashboardItemGroup.Items allows you to access dashboard items contained within the specified group.
You can identify a specific dashboard item using its component name (the DashboardItem.ComponentName property).
To specify the parent group / tab container for the current dashboard item, use the DashboardItem.ParentContainer property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DashboardItem class.
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.