DataControlBase.MoveSelectedItem(Int32) Method

Selects the specified item.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.2.dll


public void MoveSelectedItem(
    int visibleIndex
Public Sub MoveSelectedItem(
    visibleIndex As Integer


Name Type Description
visibleIndex Int32

An integer value that specifies the item's position within a grid.


To use the MoveSelectedItem method, the DataControlBase.NavigationStyle property should be set to GridControlNavigationStyle.Row.

Use the GridControl.GetRowVisibleIndexByHandle method to obtain an item's visible index by its handle.

See Also