Questa pagina è stata utile?
I suggerimenti relativi al contenuto di questa pagina sono importanti. Comunicaceli.
Altri suggerimenti?
1500 caratteri rimanenti
Esporta (0) Stampa
Espandi tutto

DataGrid.SelectionChanged Event

Silverlight

Occurs when the SelectedItem or SelectedItems property value changes.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

public event SelectionChangedEventHandler SelectionChanged
<sdk:DataGrid SelectionChanged="eventhandler"/>

The property that indicates the current selection depends on the SelectionMode property value, as shown in the following table.

SelectionMode property value

Property that indicates the current selection

Single

SelectedItem

Extended

SelectedItems

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.

Aggiunte alla community

AGGIUNGI
Mostra:
© 2015 Microsoft