XAML code to scale canvas in WPF.

Abhisek
Posted by Abhisek under WPF category on | Views : 11003
The ScaleTransform element is used for scaling purpose. You can scale the complete canvas by scales for X and Y direction.

<Canvas.LayoutTransform>
<ScaleTransform ScaleX="4" ScaleY="4"/>
</Canvas.LayoutTransform>

Comments or Responses

Login to post response