PointAnimation.EasingFunction property

Applies to Windows and Windows Phone

Gets or sets the easing function you are applying to the animation.

Syntax


public EasingFunctionBase EasingFunction { get; set; }


<PointAnimation>
  <PointAnimation.EasingFunction>
    singleEasingFunction
  </PointAnimation.EasingFunction>
</PointAnimation>

XAML Values

singleEasingFunction

A single object element for an easing function type that derives from EasingFunctionBase, for example, <PowerEase/>.

Property value

Type: EasingFunctionBase

The easing function you are applying to the animation. The default is null.

Remarks

Easing functions allow you to apply custom mathematical formulas to your animations. Mathematical operations are often useful to produce animations that simulate real-world physics in a 2-D coordinate system. For example, you may want an object to realistically bounce or behave as though it were on a spring. For a list of easing functions and info on how to use them, see Key-frame animations and easing function animations.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Media.Animation
Windows::UI::Xaml::Media::Animation [C++]

Metadata

Windows.winmd

See also

PointAnimation
Storyboarded animations
Key-frame animations and easing function animations
XAML animation sample

 

 

Show:
© 2014 Microsoft