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

InfiniteSource.FetchRows Event

Allows you to fetch rows.

Namespace: DevExpress.Xpf.Data

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public event EventHandler<FetchRowsEventArgs> FetchRows

Event Data

The FetchRows event's data class is FetchRowsEventArgs. The following properties provide information specific to this event:

Property Description
AllowRetry Gets or sets whether re-requesting data is allowed. Inherited from FetchRowsEventArgsBase.
Filter Gets the GridControl filtering. Inherited from FetchEventArgsBase.
HasMoreRows Gets or sets whether a data source has more rows.
NextSkipToken Gets or sets the next skip token.
Result Gets or sets the result of the fetch rows operation.
Skip Gets the number of rows to skip in a returned result set. Inherited from FetchEventArgsBase.
SkipToken Gets the skip token. Inherited from FetchEventArgsBase.
SortOrder Gets the GridControl‘s sorting. Inherited from FetchEventArgsBase.
Source Gets a source object that returns data.
Take

Gets the number of rows within and above the viewport that are reloaded when you call the RefreshRows method or users press F5.

null when the grid fetches next portion of data (a user scrolls rows).

int.Max when you call the InfiniteAsyncSource.ReloadRows / PagedAsyncSource.ReloadRows method.

Inherited from FetchRowsEventArgsBase.

Remarks

Refer to the following topic for more information: Virtual Sources Overview.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FetchRows event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also