Skip to main content

DataControlBase.MoveSelectedItem(Int32) Method

Selects the specified item.

Namespace: DevExpress.UI.Xaml.Grid

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

NuGet Package: DevExpress.Uwp.Controls

#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