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

FetchRowsEventArgs.Result Property

Gets or sets the result of the fetch rows operation.

Namespace: DevExpress.Xpf.Data

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public object[] Result { get; set; }

#Property Value

Type Description
Object[]

The result of the fetch rows 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.

See Also