Back to Devexpress

GridControl.GetFocusedRow() Method

wpf-devexpress-dot-xpf-dot-grid-dot-gridcontrol-791ed26e.md

latest1.8 KB
Original Source

GridControl.GetFocusedRow() Method

Returns a row object that corresponds to the focused row.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public object GetFocusedRow()
vb
Public Function GetFocusedRow As Object

Returns

TypeDescription
Object

An object that corresponds to the focused row.

|

Remarks

To obtain a row object that corresponds to a row with the specified handle, use the DataControlBase.GetRow method. Row objects represent records in a data source. For instance, a DataRow object represents a record in a DataTable.

To learn more, see Obtaining Row Handles and Identifying Rows and Cards.

See Also

GetRow(Int32)

GetRowByListIndex(Int32)

GridControl Class

GridControl Members

DevExpress.Xpf.Grid Namespace