DashboardState.Items Property

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

Namespace: DevExpress.DashboardCommon

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

Declaration

public List<DashboardItemState> Items { get; set; }

Property Value

Type Description
List<DashboardItemState>

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

Remarks

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;
}

The following code snippets (auto-collected from DevExpress Examples) contain references to the Items 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