top button
Flag Notify
Site Registration

Difference between Tap event vs Click Event in windows phone?

+1 vote
302 views
Difference between Tap event vs Click Event in windows phone?
posted Jan 22, 2015 by Saravanan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes
 
Best answer

The Click event was originally defined in Silverlight for desktop Windows and it is only defined for the Button control (and derivatives such as HyperlinkButton). You can think of the Click event as the "traditional" way to handle a Button press.
The Tap event was added to the framework in Windows Phone 7.1 (Mango). Tap is defined in the UIElement class, which is the parent of many types of controls. You can handle a Tap event in a TextBlock, Image, and many other controls. Button is subclassed from UIElement as well, and thus can also receive Tap events. It is redundant that a Button can receive both Tap and Click events.

answer Jan 23, 2015 by Jdk
Similar Questions
+2 votes

so as of now when a back (hardware) button is clicked it closes the app. How can I work around this so it goes to the previous webpage or goes back to the index or something on those lines?

+1 vote

I need to know how to achieve the following thigs??
1. Passing a string value using formatted string.
2. Passing multiple parameters.
3. Passing complex object

+1 vote

I have a contact list and if I want to search any contact in search box if i type 'a' then it show all the contact which has 'a' in its contact name..
How can I perform this searching operation in windows.
enter image description here

In search box if I type 'c' then it show the name
Bruce Atwood
Ronald Vincent
Nigel Cedric

...