Delen via


KeyFrameAnimation.Duration Property

Definition

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.

Applies to