Edit

Share via


CALayer.Duration Property

Definition

The animation duration of this layer, in seconds.

public virtual double Duration { [Foundation.Export("duration")] get; [Foundation.Export("setDuration:")] set; }
member this.Duration : double with get, set

Property Value

The default value is 0.25. If this value is 0 or negative, the duration is the value of P:CoreAnimation.CATransation.AnimationDuration.

Implements

Attributes

Applies to