Enable multitouch on Eyeshot WPF control when added programmatically

The Eyeshot WPF control, in order to manage multitouch in an efficient way, uses multitouch input as WM_TOUCH window messages instead of touch input via the tablet platform. 
As a result, if you need to add it dynamically in your application, you have to use this code in your main window constructor: 


public MainWindow()
{
    InitializeComponent();

    ViewportLayout.DisableWpfTabletSupport(); // available since build 11.0.456
}

You can test it with the attached source code sample.

If you need to restore the multitouch functionality on the other WPF controls, please have a look at this article.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.