Exemple #1
0
        protected override void OnViewModelLoaded()
        {
            ListViewCards.SelectAll();
            ListViewHostConfigs.SelectAll();

            base.OnViewModelLoaded();
        }
Exemple #2
0
 private void CardButton_Click(object sender, RoutedEventArgs e)
 {
     if (lastSelectedAllCards)
     {
         foreach (var range in ListViewCards.SelectedRanges)
         {
             ListViewCards.DeselectRange(range);
         }
     }
     else
     {
         ListViewCards.SelectAll();
     }
     lastSelectedAllCards = !lastSelectedAllCards;
 }