Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    GridDevExtremeDataSource<T>.GetUniqueValuesAsync(GridCustomDataSourceUniqueValuesOptions, CancellationToken) Method

    Returns an array of unique values contained in the specified column.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    #Declaration

    C#
    public override Task<object[]> GetUniqueValuesAsync(
        GridCustomDataSourceUniqueValuesOptions options,
        CancellationToken cancellationToken
    )

    #Parameters

    Name Type Description
    options GridCustomDataSourceUniqueValuesOptions

    Options that data source items should match.

    cancellationToken CancellationToken

    An object that propagates a cancellation notification.

    #Returns

    Type Description
    Task<Object[]>

    An asynchronous operation that returns unique column values.

    #Remarks

    Do not call this method directly - the grid calls this method automatically.

    See Also