Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Button RotateTo

$
0
0

I am trying to rotate a button 180 degrees when a flyout menu is open/closed. I am using something like the following:

flyoutBtn.RotateTo( (flyoutOpen ? -180 : 180), 400, Easing.CubicInOut );

On iOS, it works correctly the first time it rotates, but will not rotate again after that. I have tried various combinations of 180 and -180. Any ideas? Thanks in advance!


Viewing all articles
Browse latest Browse all 58056

Trending Articles