Hi Prasvenk,
Have you tried something like:
thumb.AddHandler(UIElement.PointerPressedEvent, new PointerEventHandler(thumb_pressed), true);
thumb.AddHandler(UIElement.PointerReleasedEvent, new PointerEventHandler(thumb_released), true);
As I explained before, the XAML could not pass the mouse event correctly, which is a known issue. By using my code, you should be able to fire the press and release event.
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.
No comments:
Post a Comment