![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Creating an Animation with a duration <1s in code? Hi, i'm running into a weird problem with animations: if i define a DoubleAnimation as resource in the XAML, i can obtain a duration shorter then 1 second, without problems - for example by specifying Duration="0:0:0.250" The animation will correctly run for a quarter of a second. If i try t create the same thing in code such as new Duration(new Timespan(0,0,0,250)) which according to the docs for the Timespan constructor looks correct, the animation will not run at all (it does, however, if i use a timespan of 1s or more, such as: new Duration(new Timespan(0,0,1)) What could i be missing? -- marc hoffman Chief Architect RemObjects Software http://www.remobjects.com and the fifty-two daughters of the revolution turn the gold to chrome |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Duration of a timer | Greg Smith | .NET General | 1 | 09-01-2008 10:52 PM |
| Problem creating an BitmapSource from an HBitmap in threaded code | Shaun Bedingfield | .NET General | 0 | 03-05-2008 07:32 AM |
| duration of slides | Briana | Vista General | 3 | 08-20-2007 08:02 PM |
| How to know the duration of each driver? | Standby resume | Vista performance & maintenance | 0 | 10-18-2006 12:16 AM |
| Animation not working in code | viliescu | Avalon | 3 | 01-10-2006 03:53 PM |