Forum Xamarin Xamarin.Forms

How do I animate Margin?

AdrianKnightAdrianKnight USMember ✭✭✭✭

Can somebody tell me how to animate Margin property in Xamarin Forms? In WPF, there is ThicknessAnimation. I'm not sure how to do this in XF.


  • keivan_mousavikeivan_mousavi USMember ✭✭
    edited April 2018

    you can use this code

    await MyImage.TranslateTo(0, 100, duration, Easing.Linear);

Sign In or Register to comment.