Example #1
0
        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();
        }
Example #2
0
 private void Results_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
 {
     ActivateSelectionModeCommand.RaiseCanExecuteChanged();
 }