Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1160
Quickly clicking the xamDataGrid scroll bar triggers the Grid's MouseDoubleClick event
posted

Hi!

I'm using the xamDatagrid and have a handler implemented for the MouseDoubleClick event to perform an action when a row is double clicked.  However if the user is quickly clicking the vertical scroll bar to quickly scroll through the list the MouseDoubleClick event also fires (which is reasonable since the MouseDoubleClick event is on the grid itself).    I can easily test in the code if there are any items selected to handle the case where no item is previously selected but when a row has already been selected I need to differentiate between the double click on a row and double (or multiple) clicks on the scroll bar.  Is there any way to differentiate between these events???

 Thanks!

GlennL