Single click and double click on the same Image control(wpf) -


I am trying to differentiate once by clicking and double clicking on the WPF image control. Unfortunately one click is removed first, so double click is ignored.

If you use the mouseDown event instead it is an asset in EventArgs. This allows you to know how many times the user has clicked on the control within the system's double click period of time.

You may use it to apply your logic to make decisions between double and single clicks. / P>


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -