WPF InkCanvas and DynamicRenderer

Abraham Carrillo 36 Reputation points

I have a wpf application in which I use an inkcanvas, I generate a video of the strokes in the inkcanvas, using the RenderTargetBitmap of the InkCanvas as frames. My problem is that when using a touch screen, the stroke of the InkCanvas is not updated until the user lifts the Stylus, and in the RenderTargetBitmap the entire stroke appears from one frame to another. I understand this is due to the DynamicRenderer. Is there a way for the InkCanvas to see the stroke as it is being made?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
{count} votes