SelectionChangedEventArgs.AddedItems Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.