DataViewBase.SelectedRows Property
In This Article
Obsolete. Gets the data rows/cards currently selected within a View.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
[Browsable(false)]
[Obsolete("Use the DataControlBase.SelectedItems property instead")]
public IList SelectedRows { get; }
#Property Value
Type | Description |
---|---|
IList | A list of currently selected rows/cards. |
#Remarks
The SelectedRows collection contains data objects which correspond to data rows currently selected within a View. To select a row, use the DataControlBase.SelectItem method. To unselect a row, use the DataControlBase.UnselectItem method.
To obtain handles of selected rows, use the DataControlBase.GetSelectedRowHandles method.
To learn more, see Focus and Navigation.
See Also