Skip to main content

DataControlBase.SelectItem(Object) 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(
    object item
)

Parameters

Name Type Description
item Object

An object that is the item to select.

Remarks

The SelectItem method allows you to select the required item while preserving the current selection (if any). 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.UnselectItem method.

See Also