Skip to main content

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

NuGet Package: DevExpress.Uwp.Controls

Declaration

[Browsable(false)]
[CloneDetailMode(CloneDetailMode.Skip)]
public int SelectedItemHandle { get; set; }

Property Value

Type Description
Int32

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

Remarks

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