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
2490
_DoubleClickCell and ClickCell
posted

I have two event for my grid.

ClickCell to view PDF on my panel on my winform

And DoubleClickCell to open PDF with Adobe reader.

But it s really hard to do double click when I have Event ClickCell.

Do you have solution for that ?

Francois. 

Parents
No Data
Reply
  • 21795
    Offline posted

    Hello Francois,

    Thank you for posting in our forum.

    This is expected behavior. There is no way to stop click event and to fire only double click one, only when the last one occurs.

    What you can do to distinguish which event was fired is roll back the click action if double click happens, or use MouseDown event and Timer to verify whether user performed Click or Double Click. Please check the following article in MSDN where you may find additional information related to how you can distinguish clicks and double-clicks as well as samples showing how to implement both above mentioned approaches  https://msdn.microsoft.com/en-us/library/ms171543(v=vs.110).aspx .

    Thank you for using Infragistics Controls.

Children
No Data