dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrol-dot-getitemdata-x28-system-dot-string-x29.md
Returns the client data for the specified dashboard item.
Namespace : DevExpress.DashboardWpf
Assembly : DevExpress.Dashboard.v25.2.Wpf.dll
NuGet Package : DevExpress.Wpf.Dashboard
public MultiDimensionalData GetItemData(
string dashboardItemName
)
Public Function GetItemData(
dashboardItemName As String
) As MultiDimensionalData
| Name | Type | Description |
|---|---|---|
| dashboardItemName | String |
A String that specifies the component name of the dashboard item.
|
| Type | Description |
|---|---|
| MultiDimensionalData |
A MultiDimensionalData object that is the data visualized in the dashboard item.
|
The GetItemData method also allows you to obtain hidden measures used in the specified dashboard item.
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetItemData(String) method.
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.
wpf-dashboard-how-to-embed-devexpress-control/CS/GanttSample/GanttViewModel.cs#L59
}
MultiDimensionalData data = dashboardControl.GetItemData(name);
GanttTasks = ConfigureGanttTasks(data);
dashboard-constant-lines/CS/ConstantLineExtension.WPF/ConstantLineModule.cs#L85
{
MultiDimensionalData data = dashboardControl.GetItemData(chartItem.ComponentName);
MeasureDescriptor measure = data.GetMeasures().FirstOrDefault(m => m.ID == customConstantLine.MeasureId);
wpf-dashboard-how-to-embed-devexpress-control/VB/GanttSample/GanttViewModel.vb#L69
Loop
Dim data As MultiDimensionalData = dashboardControl.GetItemData(name)
GanttTasks = ConfigureGanttTasks(data)
See Also