Skip to main content

DataControlBase.SelectItem(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 SelectItem(
    int itemHandle
)

Parameters

Name Type Description
itemHandle Int32

An integer value which specifies the handle of the item to select.

Remarks

The SelectItem method allows you to select the required item while preserving the current selection. If the specified item is hidden within a collapsed group, the SelectItem method does nothing.

To unselect an item, use the DataControlBase.UnselectItem method. To clear the current selection, use the DataControlBase.UnselectAll method.

See Also