Show / Hide Table of Contents

Class BounceEase

Represents an easing function that creates an animated bouncing effect.

Inheritance
System.Object
DependencyObject
EasingFunctionBase
BounceEase
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 BounceEase : EasingFunctionBase, IDependencyObject, IEasingFunction

Fields

| Improve this Doc View Source

BouncesProperty

Identifies the Bounces dependency property.

Declaration
public static readonly DependencyProperty BouncesProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

BouncinessProperty

Identifies the Bounciness dependency property.

Declaration
public static readonly DependencyProperty BouncinessProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

Bounces

Gets or sets the number of bounces.

Declaration
public int Bounces { get; set; }
Property Value
Type Description
System.Int32

The number of bounces. The value must be greater or equal to zero. Negative values will resolve to zero. The default is 3.

| Improve this Doc View Source

Bounciness

Gets or sets a value that specifies how bouncy the bounce animation is. Low values of this property result in bounces with little lose of height between bounces (more bouncy) while high values result in dampened bounces (less bouncy).

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

The value that specifies how bouncy the bounce animation is. This value must be positive. The default value 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