private void button_Click(object sender, RoutedEventArgs e) { int action = Convert.ToInt32((sender as FrameworkElement).Tag); hideContextActions(); e.Handled = CoreView.doContextAction(action) || ExtClick(action); _owner.ActivateView(); }
private void image_MouseDown(object sender, MouseButtonEventArgs e) { int action = Convert.ToInt32((sender as FrameworkElement).Tag); ClearActions(); CoreView.doContextAction(action); e.Handled = true; _owner.ActivateView(); }