Exporter (0) Imprimer
Développer tout

PointAnimationUsingKeyFrames, classe

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

Espace de noms: System.Windows.Media.Animation
Assembly : PresentationCore (dans presentationcore.dll)
Espace de noms XML :  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

Les membres statiques publics (Shared en Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Microsoft .NET Framework 3.0 est pris en charge sur Windows Vista, Microsoft Windows XP SP2 et Windows Server 2003 SP1.

.NET Framework

Prise en charge dans : 3.0

Ajouts de la communauté

AJOUTER
Afficher:
© 2014 Microsoft