Skip to Main Content
Programming WPF, 2nd Edition
book

Programming WPF, 2nd Edition

by Chris Sells, Ian Griffiths
August 2007
Intermediate to advanced content levelIntermediate to advanced
864 pages
25h 52m
English
O'Reilly Media, Inc.
Content preview from Programming WPF, 2nd Edition

Animatable

System.Object
    System.Windows.Threading.DispatcherObject
        System.Windows.DependencyObject
            System.Windows.Freezable
                System.Windows.Media.Animation.Animatable

Many of the Freezable types describe aspects of an element's appearance such as its shape or color, which makes them candidates for animation. Most Freezable types therefore derive from Freezable indirectly through the Animatable class. This class provides WPF's animation system with the hooks it needs to change properties over time.

If necessary, the animation system will call Clone to create an unfrozen copy of a value in order to animate the value.

Example D-2 shows the public types that derive from Animatable.

Table D-1. Public types derived from Animatable

BitmapEffect

GuidelineSet

Rotation3D

Brush

ImageSource

TextEffect

Camera

Material

TextDecoration

DashStyle

MediaPlayer

Timeline

Drawing

Model3D

Transform

Geometry

PathFigure

Transform3D

Geometry3D

PathSegment

 

GradientStop

Pen

 
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming C#, 4th Edition

Programming C#, 4th Edition

Jesse Liberty
Programming C# 10

Programming C# 10

Ian Griffiths

Publisher Resources

ISBN: 9780596510374Supplemental ContentErrata Page