DataViewBase.MoveFocusedRow(Int32) Method
In This Article
Moves focus to the specified row.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
visible |
Int32 | An integer value that specifies the row's position within a View. |
#Remarks
To use the MoveFocusedRow method, the DataViewBase.NavigationStyle property should be set to GridViewNavigationStyle.Row or GridViewNavigationStyle.Cell.
Use the GridControl.GetRowVisibleIndexByHandle method to obtain a row's visible index by its handle.
To learn more, see Moving Row Focus.
See Also