FetchPageEventArgs.Result Property
Gets or sets the result of the fetch page operation.
Namespace: DevExpress.Xpf.Data
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Object[] | The result of the fetch page operation. |
Remarks
The Result property’s type is an array. Arrays, unlike Enumerable objects, can be a storage for loaded items only, and do not support loading items on demand (as is possible with IEnumerable or IQueryable objects). Therefore, using an array guarantees that retrieved items are loaded immediately.
Refer to the following topic for more information: Bind the WPF Data Grid to any Data Source with Virtual Sources.
Note
The FetchRowsResult class has an implicit conversion operator:
public sealed class FetchRowsResult {
public static implicit operator FetchRowsResult(object[] rows) {
return new FetchRowsResult(rows, hasMoreRows: true);
}
// ...
}
This operator converts an array to a FetchRowsResult object.