This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Description
Hi!
I try to implement this functionality in my WPF application. Functionality is working fine but my problem is when I try to implement on the image then this time my image is not shown and when I try to show the image then ink canvas does not work.
When I try implement by this
<Controls:InkToolbar TargetInkCanvas="{x:Reference myInkCanvas}" Grid.Row="0" OpacityMask="Transparent"/>
<Controls:InkCanvas x:Name="myInkCanvas" Grid.Row="1" OpacityMask="Transparent">

Then my output is fine
But when I try to fix for shown image then I can't draw anything
<Controls:InkToolbar TargetInkCanvas="{x:Reference myInkCanvas}" Grid.Row="0" OpacityMask="Transparent"/>
<Controls:InkCanvas x:Name="myInkCanvas" Grid.Row="1" OpacityMask="Transparent"
Width="{Binding ActualWidth,ElementName=Currentimg}" Height="{Binding ActualHeight,ElementName=Currentimg}"
Panel.ZIndex="100" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" />

in Currentimg is my image id
Can you suggest me how can I slow my problem?
my requirement is draw anything on my image using inkcanvas and toolbar
Thanks!