DashboardState.Items Property

Provides access to states of individual dashboard items displayed in the dashboard.

Namespace: DevExpress.DashboardCommon

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


public List<DashboardItemState> Items { get; set; }
Public Property Items As List(Of DashboardItemState)

Property Value

Type Description

A collection of DashboardItemState objects that are states of individual dashboard items.


The following code snippet shows how to add a state of the RangeFilter dashboard item to the entire dashboard state (DashboardState):

public DashboardState CreateDashboardState() {
  DashboardState state = new DashboardState();
  state.Items.Add(new DashboardItemState("rangeFilterDashboardItem1")
      RangeFilterState = new RangeFilterState(new RangeFilterSelection(new DateTime(2015, 1, 1), new DateTime(2017, 1, 1)))
return state;
See Also