Skip to main content
A newer version of this page is available. .

DashboardViewer.SetRangeAsync(String, String, CancellationToken) Method

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

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v20.1.Win.dll

NuGet Packages: DevExpress.Win.Dashboard, DevExpress.WindowsDesktop.Win.Dashboard

Declaration

public Task SetRangeAsync(
    string dashboardItemName,
    string dateTimePeriodName,
    CancellationToken token
)

Parameters

Name Type Description
dashboardItemName String

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

dateTimePeriodName String

A String that specifies the name of the predefined range used to perform a selection.

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