Jaa


SelectionChangedEventArgs.AddedItems Property

Definition

Gets a list that contains the items that were selected.

public:
 property IVector<Platform::Object ^> ^ AddedItems { IVector<Platform::Object ^> ^ get(); };
IVector<IInspectable> AddedItems();
public IList<object> AddedItems { get; }
var iVector = selectionChangedEventArgs.addedItems;
Public ReadOnly Property AddedItems As IList(Of Object)

Property Value

IVector<Object>

IList<Object>

IVector<Platform::Object>

IVector<IInspectable>

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.

Applies to