Skip to main content

Microsoft Silverlight

Answered Question Multi Touch on individual controlsRSS Feed

(0)

FuryDiamond
FuryDiamond

Contributor

Contributor

3870 points

766 Posts

Multi Touch on individual controls

Silverlight currently supports Touch Points rather than gestures.  The issue is that the Touch_FrameReported is a global event that communicates on the whole screen rather than the individual object (control).  When the user fires a touch event from any control, it will call the Touch_FrameReported event of all the controls rather than the one that it is over.  

 

Is it possible to isolate those events based on the individual control that the TouchPoint is directly over (TouchDevice.DirectlyOver)?

Please "Mark as Answer" if this post answered your question. :)

davidezordan
davidezo...

Contributor

Contributor

5690 points

875 Posts

Silverlight MVP

Re: Multi Touch on individual controls

As I've seen, you can only handle the Touch.FrameReported event for the whole screen.

HTH.

Thanks, Davide

Silverlight MVP

Blog Twitter Silverlight Experts

Jesse Bishop
Jesse Bi...

Member

Member

132 points

15 Posts

Answered Question

Re: Multi Touch on individual controls

I recently posted an example of how to capture touch events on individual elements, plus simple gesture support:

http://www.jebishop.com/2009/11/05/multi-touch-gesture-recognition-in-silverlight-3/

-Jesse Bishop
Program Manager, Silverlight

FuryDiamond
FuryDiamond

Contributor

Contributor

3870 points

766 Posts

Re: Multi Touch on individual controls

Excellent! Thanks Jesse!

Please "Mark as Answer" if this post answered your question. :)

davidezordan
davidezo...

Contributor

Contributor

5690 points

875 Posts

Silverlight MVP

Re: Re: Multi Touch on individual controls

Thank you Jesse, great article.

Thanks, Davide

Silverlight MVP

Blog Twitter Silverlight Experts

Generoso
Generoso

Member

Member

13 points

10 Posts

Re: Multi Touch on individual controls

You can take a look at MIRIA SDK that includes the feature you need.

http://miria.codeplex.com

 

Gene.

---
http://miria.codeplex.com
MIRIA SDK - Multitouch, Gestures and Multipurpose Input Gateway for Silverlight
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities