DataControlBase.SelectedItemHandle Property

Gets or sets the selected item’s handle. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

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


public int SelectedItemHandle { get; set; }

Property Value

Type Description

An integer value that specifies the selected item’s handle.


The selected item isn’t displayed if the DataControlBase.NavigationStyle property is set to GridControlNavigationStyle.None. To specify the selected item, use the SelectedItemHandle property or the DataControlBase.MoveSelectedItem method. If the specified item isn’t visible onscreen, a grid is automatically scrolled to make the selected item visible.

After the selected item has been changed, the DataControlBase.SelectedItemChanged event is raised.

See Also