I'm using RadGridView and try to handle the MouseDoubleClick-Event. My problem is to get the RadGridCell the user has double-clicked on.
Can you help me with this?
Thanks!
Best regards
Tobias
2 Answers, 1 is accepted
0
Dinko | Tech Support Engineer
Telerik team
answered on 04 Mar 2019, 08:41 AM
Hi Tobias,
Thank you for your interest in our RadGridView control for WPF.
What you could try is to use EventManager.RegisterClassHandler() method to subscribe to all GridViewCell's in the window. Check the following code snippet:
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
EventManager.RegisterClassHandler(typeof(GridViewCell), GridViewCell.MouseDoubleClickEvent, new RoutedEventHandler(OnMouseDoubleClickEvent));
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.