Subby
Subby

Reputation: 5480

Simple One Finger Touch Event

Does anyone know how I can implement a single Touch Event. A simple, one finger touch event, not multiple gesture or anything... Just a simple one finger touch.

I want to learn how to do this instead of doing LeftButtonMouseUp.

Upvotes: 0

Views: 113

Answers (1)

MyKuLLSKI
MyKuLLSKI

Reputation: 5325

Add this to any control:

XAML

Tap="Control_Tap"

CodeBehind

private void Control_Tap(object sender, System.Windows.Input.GestureEventArgs e)
{
    // Tap Logic
}

Here is a link to the Gesture cheat sheet

Upvotes: 1

Related Questions