แก้ไข

แชร์ผ่าน


EasingMode Enum

Definition

Defines the modes in which classes derived from EasingFunctionBase perform their easing.

public enum class EasingMode
public enum EasingMode
type EasingMode = 
Public Enum EasingMode
Inheritance
EasingMode

Fields

Name Value Description
EaseIn 0

Interpolation follows the mathematical formula associated with the easing function.

EaseOut 1

Interpolation follows 100% interpolation minus the output of the formula associated with the easing function.

EaseInOut 2

Interpolation uses EaseIn for the first half of the animation and EaseOut for the second half.

Remarks

The following graphs demonstrate the different values of EasingMode, where f(t) represents the animation progress and t represents time.

BackEase

BackEase EasingMode graphs.

BounceEase

BounceEase EasingMode graphs.

CircleEase

CircleEase EasingMode graphs.

CubicEase

CubicEase EasingMode graphs.

ElasticEase

ElasticEase with graphs of different easingmodes.

ExponentialEase

ExponentialEase graphs of different easingmodes.

PowerEase

QuarticEase with graphs of different easingmodes.

QuadraticEase

QuadraticEase with graphs of different easingmodes

QuarticEase

QuarticEase with graphs of different easingmodes.

QuinticEase

QuinticEase with graphs of different easingmodes.

SineEase

SineEase for different EasingMode values

XAML Attribute Usage

<object property="enumMemberName"/>  

Applies to

See also