Export (0) Print
Expand All
0 out of 8 rated this helpful - Rate this topic

DataGrid.SelectedItems Property

Silverlight

Gets a list that contains the data items corresponding to the selected rows.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)
public IList SelectedItems { get; }

Property Value

Type: System.Collections.IList
A list of the data items corresponding to the selected rows.

If the SelectionMode property is set to Single, the SelectedItems list will contain only the SelectedItem property value.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.