Skip to main content

DashboardViewer.SetRangeAsync(String, RangeFilterSelection, CancellationToken) Method

Selects the specified range in the specified Range Filter or Date Filter dashboard item asynchronously.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v23.2.Win.dll

NuGet Package: DevExpress.Win.Dashboard

Declaration

public Task SetRangeAsync(
    string dashboardItemName,
    RangeFilterSelection range,
    CancellationToken token
)

Parameters

Name Type Description
dashboardItemName String

A String that specifies the component name of the Range Filter or Date Filter dashboard item.

range RangeFilterSelection

A RangeFilterSelection object that specifies a range in the Range Filter or Date Filter dashboard item.

token CancellationToken

Propagates notification that operations should be canceled.

Returns

Type Description
Task

The task object that is the asynchronous operation to complete.

See Also