Silverlight 3 Quick Tip: Multitouch support on Windows 7

Friday, July 10, 2009

Silverlight 3 supports Multitouch on Windows 7. Touch class –provides input information and resides in System.Windows.Input namespace “FrameReported” event - fired when touch action occurs. Event arguments provide the following info: Timestamp: identify the touch event by time GetTouchPoints function (over specific UI Element) GetPrimaryTouchPoint function (over specific UIElement) SuspendMousePromotionUntilTouchUp function GetTouchPoints returns TouchPointCollection In TouchPointCollection first point in the collection is the PrimaryPoint. Each member in collection is TouchPoint. TouchPoint provides following...