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

Definition

Returns a task that performs the fade that is described by the opacity, length, and easing parameters.

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

The view on which this method operates.

opacity
Double Double

The opacity to fade to.

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