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

GridControl.GetRowsAsync(Int32, Int32) Method

Returns a list of row objects that corresponds to the specified range of row handles asynchronously.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public Task<IList> GetRowsAsync(
    int startFrom,
    int count
)

#Parameters

Name Type Description
startFrom Int32

An integer value that is the handle of the first row in the range.

count Int32

An integer value that is the number of rows in the range.

#Returns

Type Description
Task<IList>

A Task<TResult> object for which the Result property is the list of row objects that correspond to the specified range of row handles.

#Remarks

To obtain a list of row objects that correspond to the specified range of row handles asynchronously, use the GetRowsAsync method. Row objects represent records in a data source. For instance, a DataRow object represents a record in a DataTable.

See Also