SelectionChangedEventArgs.AddedItems SelectionChangedEventArgs.AddedItems SelectionChangedEventArgs.AddedItems SelectionChangedEventArgs.AddedItems Property

Definition

Gets a list that contains the items that were selected.

public : IVector<Platform::Object> AddedItems { get; }
IVector<winrt::Windows::Foundation::IInspectable> AddedItems();
public IList<object> AddedItems { get; }
Public ReadOnly Property AddedItems As IList<object>

Property Value

IList<object> IList<object>

The loosely typed collection of items that were selected in this event.

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. Setting these properties requires devirtualizing the item object. Use the SelectedRanges property to get the items instead.