ThicknessKeyFrame | 229
Animating
Elements
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Paced: The Duration will be split among key frames in a way that ensures the
speed of the animation remains relatively constant.
A percentage of the total duration.
Value (required)
This
Size describes the destination value of the key frame.
StringKeyFrame
Hierarchy: DependencyObject Freezable
StringKeyFrame is the base class for only one subclass, DiscreteStringKeyFrame:
<DiscreteStringKeyFrame
KeyTime="0:0:10|Uniform|Paced|30%"
Value="String" />
<DiscreteStringKeyFrame .../> animates a string from a previous value to its own at
KeyTime.
Attributes
KeyTime (required)
This attribute specifies the time, relative to the animation, when
Value will be
reached:
A time period specified in hours:minutes:seconds.
Uniform: The Duration will be split evenly among all key frames.
Paced: The Duration will be split among key frames in a way that ensures the
speed of the animation remains relatively constant.
A percentage of the total duration.
Value (required)
This
String describes the destination value of the key frame.
ThicknessKeyFrame
Hierarchy: DependencyObject Freezable
ThicknessKeyFrame is the base class for three types of Thickness key frames: discrete,
linear, and spline. Each of the three subclasses of
ThicknessKeyFrame represents a key
frame with a distinct interpolation technique, indicated by its name:
<LinearThicknessKeyFrame
KeyTime="0:0:10|Uniform|Paced|30%"
Value="1,1,1,1" />
<DiscreteThicknessKeyFrame
KeyTime="0:0:10|Uniform|Paced|30%"
Value="1,1,1,1" />
<SplineThicknessKeyFrame
KeyTime="0:0:10|Uniform|Paced|30%"
Value="1,1,1,1" >

Get XAML in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.