Back to Devexpress

GridControl.GetRowsAsync(Int32, Int32) Method

wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-dot-getrowsasync-x28-system-dot-int32-system-dot-int32-x29.md

latest2.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Parameters

NameTypeDescription
startFromInt32

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

TypeDescription
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

GetRowAsync(Int32)

GridControl Class

GridControl Members

DevExpress.Xpf.Grid Namespace