Skip to main content

GridViewBase.GetSelectedRows() Method

Gets selected rows.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public IList<GridRowInfo> GetSelectedRows()

Returns

Type Description
IList<GridRowInfo>

A list of the GridRowInfo objects.

Remarks

Call the nested GridControl’s GridViewBase.GetSelectedRows method to get detail grids’ selected rows.

The GetSelectedRows method returns selected rows in the order they are displayed in the GridControl.

See Also