Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

disable right click wpf

$
0
0

Hello,

I am building a wpf app for a touch screen for windows 8 and I need to disable touch&hold (the equivalent of right click). I have read at the remarks on this link http://msdn.microsoft.com/en-us/library/system.windows.uielement.previewtouchdown.aspx that pressing a finger on the screen and holding it without moving it causes the press and hold behavior of a Stylus.  Unfortunately, right click was not disabled by setting Stylus.IsPressAndHoldEnabled="False" in the XAML. 

Could you please help me disable it? Thank you in advance :)


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>