private async void RowSelected(object sender, SelectedItemChangedEventArgs e)
        {
            ((ListView)sender).SelectedItem = null;
            if (!DoOnce())
            {
                return;
            }

            if (e.SelectedItem is CipherView cipher)
            {
                await _vm.SelectCipherAsync(cipher);
            }
        }
예제 #2
0
        private async void RowSelected(object sender, SelectionChangedEventArgs e)
        {
            ((ExtendedCollectionView)sender).SelectedItem = null;
            if (!DoOnce())
            {
                return;
            }

            if (e.CurrentSelection?.FirstOrDefault() is CipherView cipher)
            {
                await _vm.SelectCipherAsync(cipher);
            }
        }