private void OnSourceCollectionViewCurrentItemChanged()
{
Debug.Assert(IsSynchronizedWithCurrentItemInternal, "We shouldn't be listening for currency changes if IsSynchronizedWithCurrentItemInternal is false");
if (IsSelectionChangeActive)
{
return;
}
// Synchronize SelectedItem with the CurrentItem
// of the Source CollectionView
if (SourceCollectionView != null)
{
SelectedItem = SourceCollectionView.CurrentItem;
}
}