This web site uses cookies. By using the site you accept the cookie policy.This message is for compliance with the UK ICO law.

Windows Presentation Foundation
.NET 4.0+

WPF Animation - Naming Conventions

The one hundred and fifty-fifth part of the Windows Presentation Foundation Fundamentals tutorial starts to re-examine animation. This article describes the naming conventions employed by Microsoft for the animation classes.

Path Animations

Path animations let you move and transform properties along a geometrical path, similar to those seen in the articles describing shapes and drawing in WPF. They are named according to the data type being animated, with the suffix "AnimationUsingPath". The available types include:

  • MatrixAnimationUsingPath
  • PointAnimationUsingPath

Animation Base Classes

The final group contains the base classes for the other animations. These are abstract classes that contain functionality shared by all animations for the target data type. They also inherit from other base classes that provide shared features for all animations.

These classes are named according to the type being animated, followed by "AnimationBase". They include:

  • BooleanAnimationBase
  • ByteAnimationBase
  • CharAnimationBase
  • ColorAnimationBase
  • DecimalAnimationBase
  • DoubleAnimationBase
  • Int16AnimationBase
  • Int32AnimationBase
  • Int64AnimationBase
  • MatrixAnimationBase
  • ObjectAnimationBase
  • Point3DAnimationBase
  • PointAnimationBase
  • QuaternionAnimationBase
  • RectAnimationBase
  • Rotation3DAnimationBase
  • SingleAnimationBase
  • SizeAnimationBase
  • StringAnimationBase
  • ThicknessAnimationBase
  • Vector3DAnimationBase
  • VectorAnimationBase
28 April 2015