Esempio n. 1
0
        private void SelectedList_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)
        {
            var selectedItems = SelectedList.SelectedItems.Cast <Breed>().ToList();

            vm.SelectedListSelectedItems = selectedItems;
            //only want 1 listview to have a selection
            if (selectedItems.Count != 0)
            {
                GenesList.UnselectAll();
                OutputList.UnselectAll();
            }
        }