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
Event Data
The FetchPage event's data class is FetchPageAsyncEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Filter | Gets the GridControl filtering. Inherited from FetchEventArgsBase. |
Keys | Gets keys that you passed to the ReloadRows(Object[]) method. |
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 FetchEventArgsBase. |
SkipToken | Gets the skip token. Inherited from FetchEventArgsBase. |
SortOrder | Gets the GridControl‘s sorting. Inherited from FetchEventArgsBase. |
Take | Gets the number of rows to take in a returned result set. Inherited from FetchPageEventArgsBase. |
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.