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

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.50.206