If you need to use the Button.Click
event, rather than the Tap
event for whatever reason, you can tailor the type of user interaction that is required to raise the Button
’s Click
event using the Button.ClickMode
property.
The following is a list of the three possible ClickMode
values:
Press—The Click
event is raised as soon as the user touches the button.
Release—The Click
event is not raised until the user lifts his finger off the button. This is the default value.
Hover—Has the same effect as Press
. As there is currently no support for detecting when the user hovers over a control on a Windows Phone device, this value serves no purpose and exists to maintain compatibility with Silverlight for the browser.
18.188.228.180