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.v20.1.dll

Declaration

public Task<IList> GetRowsAsync(
    int startFrom,
    int count
)
Public Function GetRowsAsync(
    startFrom As Integer,
    count As Integer
) As Task(Of IList)

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