EasingFunctionBase EasingFunctionBase EasingFunctionBase Class

Definition

Provides the base class for all the easing functions.

public : class EasingFunctionBase : DependencyObject, IEasingFunctionBase
public class EasingFunctionBase : DependencyObject, IEasingFunctionBase
Public Class EasingFunctionBase Inherits DependencyObject Implements IEasingFunctionBase
Inheritance
EasingFunctionBaseEasingFunctionBaseEasingFunctionBase
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

EasingFunctionBase is not extensible. It provides base class support for the Windows Runtime easing function classes, for example ExponentialEase. When you call Ease on a Windows Runtime easing function class, you get the specific easing behavior of that easing function class. There may also be properties of the class other than EasingMode that modify the Ease behavior.

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.

EasingFunctionBase derived classes

EasingFunctionBase is the parent class for several immediately derived classes that implement specific easing behaviors for use in an easing key frame:

Properties

Dispatcher Dispatcher Dispatcher

Inherited from DependencyObject

EasingMode EasingMode EasingMode

Gets or sets a value that specifies how the animation interpolates.

public : EasingMode EasingMode { get; set; }
public EasingMode EasingMode { get; set; }
Public ReadWrite Property EasingMode As EasingMode
<easingFunction EasingMode="easingMode"/>
Value
EasingMode EasingMode EasingMode

One of the enumeration values that specifies how the animation interpolates. The default is EaseOut.

EasingModeProperty EasingModeProperty EasingModeProperty

Identifies the EasingMode dependency property.

public : static DependencyProperty EasingModeProperty { get; }
public static DependencyProperty EasingModeProperty { get; }
Public Static ReadOnly Property EasingModeProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the EasingMode dependency property.

Methods

ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Inherited from DependencyObject

Ease(Double) Ease(Double) Ease(Double)

Transforms normalized time to control the pace of an animation.

public : double Ease(double normalizedTime)
public double Ease(Double normalizedTime)
Public Function Ease(normalizedTime As Double) As double
Parameters
normalizedTime
double Double Double

Normalized time (progress) of the animation.

Returns
double double double

A double that represents the transformed progress.

GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Inherited from DependencyObject

GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Inherited from DependencyObject

ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Inherited from DependencyObject

RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Inherited from DependencyObject

SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Inherited from DependencyObject

UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Inherited from DependencyObject

See Also