Class BounceEase
Represents an easing function that creates an animated bouncing effect.
Implements
Inherited Members
Namespace: System.Windows.Media.Animation
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public class BounceEase : EasingFunctionBase, IEasingFunction
Constructors
| Improve this Doc View SourceBounceEase()
Initializes a new instance of the BounceEase class.
Declaration
[NotImplemented]
public BounceEase()
Fields
| Improve this Doc View SourceBouncesProperty
Identifies the Bounces dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty BouncesProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
BouncinessProperty
Identifies the Bounciness dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty BouncinessProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceBounces
Gets or sets the number of bounces. The value must be greater or equal to zero. Negative values will resolve to zero. The default is 3.
Declaration
[NotImplemented]
public int Bounces { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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). This value must be positive. The default value is 2.
Declaration
[NotImplemented]
public double Bounciness { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceEaseInCore(Double)
Provides the logic portion of the easing function that you can override to produce the EaseIn mode of the custom easing function.
Declaration
[NotImplemented]
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. |