Skip to main content

RangeFilterState.PeriodName Property

Gets or sets the name of the selected predefined period.

Namespace: DevExpress.DashboardCommon

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

Declaration

public string PeriodName { get; set; }

Property Value

Type Description
String

A String value that specifies the name of the selected predefined period.

Remarks

The following code snippet adds a predefined period of the Range Filter state to the entire dashboard state:

public DashboardState CreateDashboardState() {
  DashboardState state = new DashboardState();
  // Set a predefined period for a Range Filter.
    state.Items.Add(new DashboardItemState("rangeFilterDashboardItem1") {
    RangeFilterState = new RangeFilterState(periodName: "6 month")
    });
  return state;
} 
See Also