ViewExtensions.RelScaleTo(VisualElement, Double, UInt32, Easing) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a task that scales the VisualElement that is specified by view
from its current scale to dscale
.
public static System.Threading.Tasks.Task<bool> RelScaleTo (this Xamarin.Forms.VisualElement view, double dscale, uint length = 250, Xamarin.Forms.Easing easing = default);
static member RelScaleTo : Xamarin.Forms.VisualElement * double * uint32 * Xamarin.Forms.Easing -> System.Threading.Tasks.Task<bool>
Parameters
- view
- VisualElement
The view on which this method operates.
- dscale
- System.Double
The relative scale.
- length
- System.UInt32
The time, in milliseconds, over which to animate the transition. The default is 250.
- easing
- Easing
The easing function to use for the animation.
Returns
System.Threading.Tasks.Task<System.Boolean>