CHAPTER 7 ?– USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 1) 140
Table 7-3. Properties of the
Tag
Property Name Description
AnimationTarget The target control for the animation. This is the control that will be
affected as the result of the animation.
Duration Duration (in seconds) that it should take to play the animation.
EndValue The end value of a specified range used for animation.
Fps Frames per second used for the animation. Higher FPS values can yield
smoother animation but are potentially slower.
Property The property that will be the target for the animation (e.g., Height).
PropertyKey Property key of the target control.
StartValue Starting value of a specified range used for animation.
Unit Actual unit of the property such as % or px (px by default).
Once again, to understand this animation type better, examine the following small
code segment:
runat="server">
propertyKey="width" startValue="800" endValue="200"
duration="15" unit="px" />
Here you have an control with an image being the target control of the
animation.
Pages:
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217