O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Double Tap Gesture

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.

Image

FIGURE 12.4 Double tap gesture.

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";}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required