PagedAsyncSource.FetchPage Event
Allows you to fetch page rows.
Namespace: DevExpress.Xpf.Data
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public event EventHandler<FetchPageAsyncEventArgs> FetchPage
#Event Data
The FetchPage event's data class is FetchPageAsyncEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Filter |
Gets the Grid |
Keys |
Gets keys that you passed to the Reload |
Result | Gets or sets the result of the fetch page operation. |
Skip |
Gets the number of rows to skip in a returned result set.
Inherited from Fetch |
Skip |
Gets the skip token.
Inherited from Fetch |
Sort |
Gets the Grid |
Take |
Gets the number of rows to take in a returned result set.
Inherited from Fetch |
#Remarks
If you want to maintain a clean MVVM pattern and specify a fetch operation in a ViewModel, create a command and bind it to the PagedAsyncSource.FetchPageCommand property.
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the FetchPage 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.