ObjectAnimator.SetAutoCancel(Boolean) Method

Definition

autoCancel controls whether an ObjectAnimator will be canceled automatically when any other ObjectAnimator with the same target and properties is started.

[Android.Runtime.Register("setAutoCancel", "(Z)V", "")]
public void SetAutoCancel (bool cancel);
[<Android.Runtime.Register("setAutoCancel", "(Z)V", "")>]
member this.SetAutoCancel : bool -> unit

Parameters

cancel
Boolean

Whether future ObjectAnimators with the same target and properties as this ObjectAnimator will cause this ObjectAnimator to be canceled.

Attributes

Remarks

Java documentation for android.animation.ObjectAnimator.setAutoCancel(boolean).

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