Inkcanvas masking control issue
This is all the code. Inkcanvas wet ink will cover all controls. Is there a good solution to this problem? It involves the issue of what elements other controls use to carry. Can you give some suggestions?
The animation is the actual effect
<Grid>
<InkCanvas x:Name="inkcanvas"/>
<Button x:Name="myButton" Click="myButton_Click">Click Me</Button>
</Grid>
I noticed that the code was caused by the use of inkDeskTopHost. How should I fix this issue? Or suppose I don't use the current inkcanvas. Who can give some suggestions for implementing an incanfas with similar performance to UWP? I can work together with AI, but I currently lack some guiding advice.
Hi @duwenlong2 Can you help us by providing repro project it would help us to investigate it better? Thanks
How can we contact each other?
I noticed that the code was caused by the use of inkDeskTopHost. How should I fix this issue? Or suppose I don't use the current inkcanvas. Who can give some suggestions for implementing an incanfas with similar performance to UWP? I can work together with AI, but I currently lack some guiding advice.
It works normally with InkPresenter.InputProcessingConfiguration then InkPresenter.UnprocessedInput.PointerPressed and so on to let default drawing or not (used for lasso effect to select strokes for example), but I could not make it work directly in WinUI But it works by embedding UWP InkCanvas with XAML Islands