Hello,
Welcome to Microsoft Q&A!
So, what event should I subscribe to for any change on an InkCanvas?
You could take a look at the InkPresenter Class. It contains an event called InkPresenter.StrokesCollected Event which iccurs when one or more ink strokes are processed ("wet" to "dry") by the application thread.
By default, an ink stroke is processed on a low-latency background thread and rendered wet as it is drawn. When the stroke is completed (pen or finger lifted, or mouse button released), the stroke is processed on the UI thread and rendered dry to the InkCanvas layer (above the application content). If the UI thread is busy, more than one ink stroke might be processed (collected) when the thread becomes available.
So you could refer to the following code about how to subscribe to this event:
InkPresenter inkPresenter = inkCanvas.InkPresenter;
inkPresenter.StrokesCollected += InkPresenter_StrokesCollected;
Thank you.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.