Search code examples
windows-runtimewindows-store-appswinrt-xamlinkcanvas

Windows Store apps do not support WPF's <InkCanvas>


I am working on an application which can take input thru touch screen using mouse or stylus.. Found that <InkCanvas> works really great for me, but Windows Store app project does not recognize/support <InkCanvas> tag.

Does any came across similar kind of requirement and scenario. Any suggestion.

Of course, one of them is but it is not as flexible as <InkCanvas>


Solution

  • You use the InkManager class in WinRT instead of WPF's InkCanvas. I think you might need to use your own Canvas control with some Shapes (Polyline?) and handle the Pointer~ events yourself, but I haven't done it myself so I can't say for sure.