SelectionChangedEventArgs.RemovedItems Property

Definition

Gets a list that contains the items that were unselected.

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

Property Value

IVector<Object>

IList<Object>

IVector<Platform::Object>

IVector<IInspectable>

The loosely typed list of items that were unselected 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