Show / Hide Table of Contents

Class EasingFunctionBase

Provides the base class for all the easing functions. You can create your own custom easing functions by inheriting from this class.

Inheritance
System.Object
DependencyObject
EasingFunctionBase
BackEase
BounceEase
CircleEase
CubicEase
ExponentialEase
PowerEase
QuadraticEase
QuarticEase
QuinticEase
SineEase
Implements
IEasingFunction
Inherited Members
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media.Animation
Assembly: OpenSilver.dll
Syntax
public abstract class EasingFunctionBase : DependencyObject, IDependencyObject, IEasingFunction

Constructors

| Improve this Doc View Source

EasingFunctionBase()

Initializes a new instance of the EasingFunctionBase class.

Declaration
protected EasingFunctionBase()

Fields

| Improve this Doc View Source

EasingModeProperty

Identifies the EasingMode dependency property.

Declaration
public static readonly DependencyProperty EasingModeProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

EasingMode

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

Declaration
public EasingMode EasingMode { get; set; }
Property Value
Type Description
EasingMode

Methods

| Improve this Doc View Source

Ease(Double)

Transforms normalized time to control the pace of an animation.

Declaration
public double Ease(double normalizedTime)
Parameters
Type Name Description
System.Double normalizedTime

Normalized time (progress) of the animation.

Returns
Type Description
System.Double

A double that represents the transformed progress.

| Improve this Doc View Source

EaseInCore(Double)

Provides the logic portion of the easing function that you can override to produce the EaseIn mode of the custom easing function.

Declaration
protected abstract double EaseInCore(double normalizedTime)
Parameters
Type Name Description
System.Double normalizedTime

Normalized time (progress) of the animation.

Returns
Type Description
System.Double

A double that represents the transformed progress.

Implements

IEasingFunction

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source