Skip to content

InkCanvas and multi-stroke gestures

September 5, 2007

More internal email, read bottom to top…spilling the secrets of Microsoft faster that mini-msft…:-)

From: Helpful Answerer

InkCanvas only supports single-stroke gestures.  If you want to support multi-stroke gestures, you’ll have to queue up the 2 most recent strokes (with an appropriate timer) and send them to the GestureRecognizer yourself.

Why isn’t this documented better?  Why doesn’t InkCanvas.SetEnabledGestures() throw when passed a multi-stroke gesture?  Hmm…. both good questions.

 

From: Inquisitive Inquirer
Subject: InkCanvas and multi-stroke gestures

I’m trying to implement an InkCanvas recognizing gestures with more than one stroke (double tap, arrows, etc), but I’m only receiving recognized gestures with single strokes.

Is there something I’ve to take into account or a different setting?

From → WPF

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: