Skip to main content
A newer version of this page is available. .

DataControlBase.SelectedItems Property

Gets data objects that correspond to items currently selected within a grid.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(null, Handler = "OnSelectedItemsChanged")]
public IList SelectedItems { get; set; }

Property Value

Type Description
IList

The list which contains data objects corresponding to selected items.

Remarks

The SelectedItems collection contains data objects which correspond to items currently selected within a grid. To select an item, use the DataControlBase.SelectItem method. To unselect an item, use the DataControlBase.UnselectItem method.

See Also