Condividi tramite


ViewPropertyAnimator.Duration Property

Definition

Returns the current duration of property animations.

public virtual long Duration { [Android.Runtime.Register("getDuration", "()J", "GetGetDurationHandler")] get; }
[<get: Android.Runtime.Register("getDuration", "()J", "GetGetDurationHandler")>]
member this.Duration : int64

Property Value

The duration of animations, in milliseconds.

Attributes

Remarks

Returns the current duration of property animations. If the duration was set on this object, that value is returned. Otherwise, the default value of the underlying Animator is returned.

Java documentation for android.view.ViewPropertyAnimator.getDuration().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also