Back to Devexpress

GridViewBase.GetSelectedRows() Method

wpf-devexpress-dot-xpf-dot-grid-dot-gridviewbase-ce43c08b.md

latest1.3 KB
Original Source

GridViewBase.GetSelectedRows() Method

Gets selected rows.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public IList<GridRowInfo> GetSelectedRows()
vb
Public Function GetSelectedRows As IList(Of GridRowInfo)

Returns

TypeDescription
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

GridViewBase Class

GridViewBase Members

DevExpress.Xpf.Grid Namespace