protected virtual void OnLastPivotIndexChanged() { if (LastPivotIndex == 0 && EverywhereResults.ContentState == ContentState.None) { EverywhereResults.Refresh(); } else if (LastPivotIndex == 1 && InCollectionResults.ContentState == ContentState.None) { InCollectionResults.Refresh(); } ActivateSelectionModeCommand.RaiseCanExecuteChanged(); }
private void Results_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e) { ActivateSelectionModeCommand.RaiseCanExecuteChanged(); }