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.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin