The following code is working fine.
Adding djerry's comment sample code would look like this:
var anim = new DoubleAnimation { From = 1920, To = 1, }; wnd.BeginAnimation(Window.LeftProperty, anim);
and you would have to have this code in window loaded event handler. Hope this helps.