Skip to main content
A newer version of this page is available. .

DataControlBase.MoveSelectedItem(Int32) Method

Selects the specified item.

Namespace: DevExpress.UI.Xaml.Grid

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

Declaration

public void MoveSelectedItem(
    int visibleIndex
)

Parameters

Name Type Description
visibleIndex Int32

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

Remarks

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