ViewExtensions.ScaleTo(VisualElement, Double, UInt32, Easing) ViewExtensions.ScaleTo(VisualElement, Double, UInt32, Easing) Method

Definition

Returns a task that scales the VisualElement that is specified by view to the absolute scale factor scale.

public static System.Threading.Tasks.Task<bool> ScaleTo (this Xamarin.Forms.VisualElement view, double scale, uint length = 250, Xamarin.Forms.Easing easing = null);
static member ScaleTo : Xamarin.Forms.VisualElement * double * uint32 * Xamarin.Forms.Easing -> System.Threading.Tasks.Task<bool>
Parameters
view
VisualElement VisualElement

The view on which this method operates.

scale
Double Double

The final absolute scale.

length
UInt32 UInt32

The time, in milliseconds, over which to animate the transition. The default is 250.

easing
Easing Easing

The easing function to use for the animation.

Returns

Applies to