December 2014
Intermediate to advanced
512 pages
17h 4m
English
Both DoubleAnimations used thus far have the default duration of one second, but you can change this by setting its Duration property inherited from Timeline:
<DoubleAnimation From="0" To="1" Duration="0:0:5" />
This changes the duration to five seconds. The syntax for specifying the length of time in XAML is the same as what TimeSpan.Parse accepts: days.hours:minutes:seconds.fraction.
Read now
Unlock full access