We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DoubleClick on record

Thread ID:





116342 May 16,2014 12:32 PM UTC Jun 26,2014 09:41 PM UTC WPF 2
Tags: SfDataGrid
Juraj Tomana
Asked On May 16, 2014 12:32 PM UTC


Please, how can I catch double-click on the record?


Saravanan C [Syncfusion]
Replied On May 21, 2014 12:47 PM UTC

Hi Juraj,


Thank you for contacting Syncfusion Support.


We have analyzed your query and you can achieve you requirement by using the MouseDoubleClick event. Please refer the following code snippet:


Code Snippet[C#]:

this.dataGrid.MouseDoubleClick += dataGrid_MouseDoubleClick;


void dataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)


    var rowControl = this.FindDescendant(e.OriginalSource, typeof(VirtualizingCellsControl)) as VirtualizingCellsControl;

    if(rowControl != null)


        var recordData = rowControl.DataContext as OrderInfo;

        if(recordData != null)








We have created a sample based on your requirement. Please find the sample in the following location:


Sample: http://www.syncfusion.com/downloads/support/directtrac/124536/MouseDoubleClick-632792349.zip


Please let us know if  this solution helps you.



Saravanan C

Henry Harris
Replied On June 26, 2014 09:41 PM UTC

Is this possible in xaml without code behind?


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon