WPF touch events

I have a WPF app. In this app context menus are defined in XAML inside border elements. Unfortunately I don't have a Windows device with touch functionality.

1) If these elements are operated by touch and the user presses a little longer on one of the border elements, does the context menu open automatically? Or do I have to open the context menu myself depending on the time between the TouchDown event and the TouchUp event?

2) My app is so far operated by clicking with the mouse on TextBlock and Border elements. These do not have a Click event. Therefore I react on their MouseLeftButtonUp events. If these elements are now operated by touch, do I have to react to touch events or are MouseLeftButtonUp events already triggered automatically?



from Recent Questions - Stack Overflow https://ift.tt/itwog3m
https://ift.tt/HVwpivm

Comments

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)