Пример #1
0
 private void ItemList_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (viewModel.PreviewItem == null && MoveWhenOpeningPreview)
     {
         MoveX(-260);
     }
     viewModel.Preview((PriceItem)ItemList.SelectedItem);
     EnsureBounds();
 }
Пример #2
0
 private void ItemList_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     viewModel.Preview((PriceItem)ItemList.SelectedItem);
 }