My ultimate goal is to animate the change in size between two UserControls. The way that I have attempted to achieve this has produced one major problem.
I start wit
Maybe it's easier to animate the LayoutTransform.ScaleY
of your target from 0 to 1, because desired height is always 1 and no extra control is needed.
You can put the content you want the size of into a Canvas
with ClipToBound="True"
. Then you can manipulate the size of the Canvas
and yet the size of the content inside the Canvas
will always be its full desired size.