Selector.OnItemsChanged Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Updates the current selected item when the Items collection has changed.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Protected Overrides Sub OnItemsChanged ( _ e As NotifyCollectionChangedEventArgs _ )
Parameters
- e
- Type: System.Collections.Specialized.NotifyCollectionChangedEventArgs
Contains data about changes in the items collection.
This method determines whether an item was added, removed, or replaced in the item collection or whether the collection contents were reset. This method then sets the SelectedItem and SelectedIndex properties appropriately. This method does not raise collection-changed events.
Show: