In my application, I have an InkCanva
s with an image in the background. When I draw on the InkCanvas
to the bottom or left edge, the InkCanvas
changes size to fit the sketch, which messes up the rendering of the image in the background. How do I stop the InkCanvas
from resizing when strokes are applied outside its current size?
Current XAML:
<InkCanvas x:Name="DrawingArea"
Width="Auto"
Height="Auto"
ClipToBounds="True"
Background="{x:Null}" />
- Background is set in code-behind