Export (0) Print
Expand All

PointAnimationUsingKeyFrames Class

Animates the value of a Point property along a set of KeyFrames.

Namespace: System.Windows.Media.Animation
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

[ContentPropertyAttribute("KeyFrames")] 
public class PointAnimationUsingKeyFrames : PointAnimationBase, IKeyFrameAnimation, IAddChild
/** @attribute ContentPropertyAttribute("KeyFrames") */ 
public class PointAnimationUsingKeyFrames extends PointAnimationBase implements IKeyFrameAnimation, IAddChild
ContentPropertyAttribute("KeyFrames") 
public class PointAnimationUsingKeyFrames extends PointAnimationBase implements IKeyFrameAnimation, IAddChild
<PointAnimationUsingKeyFrames>
  KeyFrames
</PointAnimationUsingKeyFrames>

A key frame animation's target values are defined by its KeyFrames property, which contains a collection of PointKeyFrame objects. Each PointKeyFrame defines a segment of the animation with its own target Value and KeyTime. When the animation runs, it progresses from one key value to the next at the specified key times.

There are three types of PointKeyFrame classes, one for each supported interpolation method: LinearPointKeyFrame, DiscretePointKeyFrame, and SplinePointKeyFrame.

Unlike a PointAnimation, a PointAnimationUsingKeyFrames can have more than two of target values. You can also control the interpolation method of individual PointKeyFrame segments.

System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.DependencyObject
       System.Windows.Freezable
         System.Windows.Media.Animation.Animatable
           System.Windows.Media.Animation.Timeline
             System.Windows.Media.Animation.AnimationTimeline
               System.Windows.Media.Animation.PointAnimationBase
                System.Windows.Media.Animation.PointAnimationUsingKeyFrames

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft