The requested page is not available for the requested platform. You are viewing the content for Default platform.

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
)
Public Sub MoveSelectedItem(
    visibleIndex As Integer
)

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