DataControlBase.SelectedItems Property
Gets data objects that correspond to rows (or nodes in TreeListView) currently selected within a View.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
#Property Value
Type | Description |
---|---|
IList | The list which contains data objects corresponding to selected rows. |
#Remarks
The SelectedItems collection contains data objects which correspond to rows currently selected within a View. To select a row, use the GridViewBase.SelectRow method (TreeListView.SelectNode in TreeListView). To unselect a row, use the GridViewBase.UnselectRow method (TreeListView.UnselectNode in TreeListView).
To obtain handles of selected rows, use the DataControlBase.GetSelectedRowHandles method.
To learn more, see Obtaining Selected Rows and Cells.
NOTE
When engineering a XAML-based application using the Model View View