KeyFrameAnimation.Duration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The duration of the animation.
public:
property TimeSpan Duration { TimeSpan get(); void set(TimeSpan value); };
TimeSpan Duration();
void Duration(TimeSpan value);
public System.TimeSpan Duration { get; set; }
var timeSpan = keyFrameAnimation.duration;
keyFrameAnimation.duration = timeSpan;
Public Property Duration As TimeSpan
Property Value
The duration of the animation. Minimum allowed value is 1ms and maximum allowed value is 24 days.