Trying to capture PointerEntered event inside InkCanvas in UWP App

Ask A Question

Login To post a question

I am creating a UWP application for a tablet and I need to capture the PointerEntered event within the InkCanvas element, but for some reason I do not know it does not work.

I have tried different things but none has worked for me. I tryed with another methods like PointerMoved and this works for me. The InkCanvas element is inside a Canvas Element.

<Canvas Name="CNVSignatura" Opacity="0.8" HorizontalAlignment="Left" Height="235" Margin="810,150,0,0" VerticalAlignment="Top" Width="450" Background="White">
        <InkCanvas x:Name="INKSignatura" Margin="0,0,0,0" PointerEntered="canvas_Focus" Height="235" Width="450"/>

If I debug the code, I can verify that the method called the PointerEntered event is never called.

For more info please click here

Have a question or need a custom quote?