The CancelAnimations method is present on XF.ViewExtensions, but is not set up as an extension method. Was this intentional?
(XF 1.2.3, btw)
+1 on that question.
Was using it last week, and asking the same. It seems to be an error?
I ran across this hiccup as well, but in the meantime, I have done the following until they fix it
/* Globally available utility file */
public static class FixedViewExtensions
public static void CancelAllAnimations (this Xamarin.Forms.VisualElement view)
if(view == null)
throw new ArgumentNullException(@"view");
/* Some Page/View */
void DoStuff ()
var myButton = new Button();
await myButton.FadeTo(.10, 10000, Easing.CubicInOut);
Slight adjustment to the name of the cancel method, just in case the Xamarin.Forms team comes in and fixes their method to be, well, an extension method!
@AndyHopper @RichardShaw , @LudovicThomas , hopefully someone posted a bug at http://bugzilla.xamarin.com as there's no guarantee anyone on the Xamarin team will actually see this post in order to do something about this.
Here you go: https://bugzilla.xamarin.com/show_bug.cgi?id=27362
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies