InfiniteAsyncSource Class

The asynchronous infinite source.

Namespace: DevExpress.Xpf.Data

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public sealed class InfiniteAsyncSource :
    InfiniteSourceBase
Public NotInheritable Class InfiniteAsyncSource
    Inherits InfiniteSourceBase

Remarks

Refer to the Virtual Sources Overview topic to learn more.

VirtualSourcesTutorialAll

Examples

Demo

Tutorials

Workflow

The InfiniteAsyncSource raises events in the UI Thread and uses tasks to process data in parallel Working Threads. You should provide tasks to these events to obtain summaries, rows, etc. and enable the UI Thread to get data you fetched.

VirtualSourcesAsync

  1. (Optional step) The InfiniteAsyncSource raises the InfiniteAsyncSource.GetTotalSummaries event. Handle this event and process summaries if you want to show them in the GridControl.
  2. The InfiniteAsyncSource raises the InfiniteAsyncSource.FetchRows event to get the first portion of data.
  3. When end users navigate to the next page, the InfiniteAsyncSource raises the InfiniteAsyncSource.FetchRows event to get the next portion of data.
  4. (Optional step) When end users apply a filter, the InfiniteAsyncSource raises the InfiniteAsyncSource.GetUniqueValues event to get unique values and show them in a drop-down filter.
See Also