The double tap gesture occurs when a finger quickly touches the screen twice (see Figure 12.4). This gesture is analogous to a double-click performed with a mouse.
The double tap is primarily designed to be used to toggle between the in and out zoom states of a control.
An event handler for the DoubleTap
event is shown in the following excerpt:
void HandleDoubleTap(object sender, GestureEventArgs e)
{
textBlock.Text = "double tap";
}
3.138.101.69