Selector.SelectionChanged Event

Definition

Occurs when the currently selected item changes.

C#
public event SelectionChangedEventHandler SelectionChanged;
XAML
<selector SelectionChanged="eventhandler"/>

Event Type

Remarks

Note

For ListView and GridView: If the ItemsSource implements IItemsRangeInfo, and selection is modified using SelectRange or DeselectRange, the AddedItems and RemovedItems properties are not set in the SelectionChangedEventArgs. Setting these properties requires devirtualizing the item object. Use the SelectedRanges property to get the items instead.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6