共用方式為


System.Windows.Media.Animation Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Provides types that support property animation functionality, including timelines, storyboards, and key frames.

Classes

  Class Description
Public class BackEase Represents an easing function that retracts the motion of an animation slightly before it begins to animate in the path indicated.
Public class BeginStoryboard A trigger action that begins a Storyboard and distributes its animations to their targeted objects and properties.
Public class BounceEase Represents an easing function that creates an animated bouncing effect.
Public class CircleEase Represents an easing function that creates an animation that accelerates and/or decelerates using a circular function.
Public class ColorAnimation Animates the value of a Color property between two target values using linear interpolation over a specified Duration.
Public class ColorAnimationUsingKeyFrames Animates the value of a Color property along a set of KeyFrames over a specified Duration.
Public class ColorKeyFrame Provides a base class for specific animation key-frame techniques that define an animation segment with a Color target value. Derived classes each provide a different key-frame interpolation method for a Color value that is provided for a ColorAnimationUsingKeyFrames animation.
Public class ColorKeyFrameCollection Represents a collection of ColorKeyFrame objects that can be individually accessed by index.
Public class CubicEase Represents an easing function that creates an animation that accelerates and/or decelerates using the formula f(t) = t3.
Public class DiscreteColorKeyFrame Animates from the Color value of the previous key frame to its own Value using discrete values.
Public class DiscreteDoubleKeyFrame Animates from the Double value of the previous key frame to its own Value using discrete values.
Public class DiscreteObjectKeyFrame Animates from the Object value of the previous key frame to its own Value using discrete values.
Public class DiscretePointKeyFrame Animates from the Point value of the previous key frame to its own Value using discrete frames.
Public class DoubleAnimation Animates the value of a Double property between two target values using linear interpolation over a specified Duration.
Public class DoubleAnimationUsingKeyFrames Animates the value of a Double property along a set of KeyFrames.
Public class DoubleKeyFrame An abstract class that defines an animation segment with its own target value and interpolation method for a DoubleAnimationUsingKeyFrames.
Public class DoubleKeyFrameCollection Represents a collection of DoubleKeyFrame objects that can be individually accessed by index.
Public class EasingColorKeyFrame A class that enables you to associate easing functions with a ColorAnimationUsingKeyFrames key frame animation.
Public class EasingDoubleKeyFrame Defines a property that enables you to associate an easing function with a DoubleAnimationUsingKeyFrames key-frame animation.
Public class EasingFunctionBase Provides the base class for all the easing functions. You can create your own custom easing functions by inheriting from this class.
Public class EasingPointKeyFrame Defines a property that enables you to associate an easing function with a PointAnimationUsingKeyFrames key-frame animation.
Public class ElasticEase Represents an easing function that creates an animation that resembles a spring oscillating back and forth until it comes to rest.
Public class ExponentialEase Represents an easing function that creates an animation that accelerates and/or decelerates using an exponential formula (see remarks).
Public class KeySpline This class is used by a spline key frame to define animation progress.
Public class LinearColorKeyFrame Animates from the Color value of the previous key frame to its own Value using linear interpolation.
Public class LinearDoubleKeyFrame Animates from the Double value of the previous key frame to its own Value using linear interpolation.
Public class LinearPointKeyFrame Animates from the Point value of the previous key frame to its own Value using linear interpolation.
Public class ObjectAnimationUsingKeyFrames Animates the value of an Object property along a set of KeyFrames over a specified Duration.
Public class ObjectKeyFrame Defines an animation segment with its own target value and interpolation method for an ObjectAnimationUsingKeyFrames.
Public class ObjectKeyFrameCollection Represents a collection of ObjectKeyFrame objects that can be individually accessed by index.
Public class PointAnimation Animates the value of a Point property between two target values using linear interpolation over a specified Duration.
Public class PointAnimationUsingKeyFrames Animates the value of a Point property along a set of KeyFrames.
Public class PointKeyFrame Defines an animation segment with its own target value and interpolation method for a PointAnimationUsingKeyFrames.
Public class PointKeyFrameCollection Represents a collection of PointKeyFrame objects that can be individually accessed by index.
Public 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.
Public class QuadraticEase Represents an easing function that creates an animation that accelerates and/or decelerates using the formula f(t) = t2
Public class QuarticEase Represents an easing function that creates an animation that accelerates and/or decelerates using the formula f(t) = t4.
Public class QuinticEase Represents an easing function that creates an animation that accelerates and/or decelerates using the formula f(t) = t5.
Public class SineEase Represents an easing function that creates an animation that accelerates and/or decelerates using a sine formula (see remarks).
Public class SplineColorKeyFrame Animates from the Color value of the previous key frame to its own Value using splined interpolation.
Public class SplineDoubleKeyFrame Animates from the Double value of the previous key frame to its own Value using splined interpolation.
Public class SplinePointKeyFrame Animates from the Point value of the previous key frame to its own Value using splined interpolation.
Public class Storyboard Controls animations with a timeline, and provides object and property targeting information for its child animations.
Public class Timeline Defines a segment of time.
Public class TimelineCollection Represents a collection of Timeline objects.

Structures

  Structure Description
Public structure KeyTime Specifies when a particular key frame should take place during an animation.
Public structure RepeatBehavior Describes how a Timeline repeats its simple duration.

Interfaces

  Interface Description
Public interface IEasingFunction Defines the basic functionality of an easing function.

Enumerations

  Enumeration Description
Public enumeration ClockState Describes the potential states of an animation.
Public enumeration EasingMode Specifies how the animation associated with an easing function interpolates.
Public enumeration FillBehavior Specifies how a Timeline behaves when it is outside its active period but its parent is inside its active or hold period.
Public enumeration KeyTimeType Represents the different types that may represent a KeyTime instance.