ScaleTransform and CenterX
- by Vasco Correia
I have the following code
<Canvas Width="800" Height="600">
...
In the UserControl I animate the ScaleTranform to 1. I want UserControl to "grow" from its center, but it "grows" from the upper left corner of it. The values in CenterX and CenterY do nothing. How can I make it Scale as I want?
Thanks in advance.