Esempio n. 1
0
        protected override void OnViewModelLoaded()
        {
            ListViewCards.SelectAll();
            ListViewHostConfigs.SelectAll();

            base.OnViewModelLoaded();
        }
Esempio n. 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;
 }