Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

InfiniteSource.FetchRows Event

Allows you to fetch rows.

Namespace: DevExpress.Xpf.Data

Assembly: DevExpress.Xpf.Core.v24.2.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: Bind the WPF Data Grid to any Data Source with Virtual Sources.

See Also