WFP InkCanvas hit test
Hi! I found a problem that my inkcanvas sometime is not being hit by VisualTreeHelper.Hittest on specific point.
1 Reply
Everything works fine when InkCanvas is added to the page like this
But when we add ink canvas like this, its not working properly
Page is looking like this
Every 4 hittest or inputthittest misses inkcanvas
And it's the same problem for routed events, that they don't reach inkcanvas every 4 raise
And every hittest and raiseevents hits scrollviewer
I have observed that It's happening only with inkcanvas that size was changed dynamically in code