Show / Hide Table of Contents

Class PowerEase

Represents an easing function that creates an animation that accelerates and/or decelerates using the formula f(t) = tp where p is equal to the Power property.

Inheritance
System.Object
DependencyObject
EasingFunctionBase
PowerEase
Implements
IEasingFunction
Inherited Members
EasingFunctionBase.EasingModeProperty
EasingFunctionBase.EasingMode
EasingFunctionBase.Ease(Double)
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 class PowerEase : EasingFunctionBase, IDependencyObject, IEasingFunction

Fields

| Improve this Doc View Source

PowerProperty

Identifies the Power dependency property.

Declaration
public static readonly DependencyProperty PowerProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

Power

Gets or sets the exponential power of the animation interpolation. For example, a value of 7 creates an animation interpolation curve that follows the formula f(t) = t7.

Declaration
public double Power { get; set; }
Property Value
Type Description
System.Double

The exponential power of the animation interpolation. This value must be greater or equal to 0. The default is 2.

Methods

| 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 override 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.

Overrides
EasingFunctionBase.EaseInCore(Double)

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