Freigeben über


Double-click event on Mobile Button

For window mobile developers, have you ever thought of to enable your user to double click on the button you created?

By default the button that you drag and drop on design form, is only supported single-click event. In fact, the .net compact framework does not support double-click event.

If you insist want to have double-click event for the button on your application, the only way you can do is to create a custom button control to have double-click event.

Here is an article talk about how to create a double-click event button. You can find the example code from the articale as well. https://msdn2.microsoft.com/en-us/library/ms172533.aspx