Animation.WithConcurrent 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.
Overloads
WithConcurrent(Animation, Double, Double) |
Adds |
WithConcurrent(Action<Double>, Double, Double, Easing, Double, Double) |
Creates a new Animation object with the specified |
WithConcurrent(Animation, Double, Double)
Adds animation
to the children of this Animation object and sets the start and end times of animation
to beginAt
and finishAt
, respectively.
public Xamarin.Forms.Animation WithConcurrent (Xamarin.Forms.Animation animation, double beginAt = 0, double finishAt = 1);
member this.WithConcurrent : Xamarin.Forms.Animation * double * double -> Xamarin.Forms.Animation
Parameters
- animation
- Animation
The animation to add.
- beginAt
- System.Double
The fraction into this animation at which the added child animation will begin animating.
- finishAt
- System.Double
The fraction into this animation at which the added child animation will stop animating.
Returns
Applies to
WithConcurrent(Action<Double>, Double, Double, Easing, Double, Double)
public Xamarin.Forms.Animation WithConcurrent (Action<double> callback, double start = 0, double end = 1, Xamarin.Forms.Easing easing = default, double beginAt = 0, double finishAt = 1);
member this.WithConcurrent : Action<double> * double * double * Xamarin.Forms.Easing * double * double -> Xamarin.Forms.Animation
Parameters
- callback
- System.Action<System.Double>
An action that is called with successive animation values.
- start
- System.Double
The fraction into the current animation at which to start the animation.
- end
- System.Double
The fraction into the current animation at which to end the animation.
- easing
- Easing
The easing function to use to transision in, out, or in and out of the animation.
- beginAt
- System.Double
The fraction into this animation at which the added child animation will begin animating.
- finishAt
- System.Double
The fraction into this animation at which the added child animation will stop animating.