I don't think you can change these properties with a running animation.
You might try to stop the animation, set the properties to the new values and start again in the
private void Main_SizeChanged(object sender, SizeChangedEventArgs e)
code behind event of your window.