View.StateListAnimator Property

Definition

Returns the current StateListAnimator if exists. -or- Attaches the provided StateListAnimator to this View.

public virtual Android.Animation.StateListAnimator? StateListAnimator { [Android.Runtime.Register("getStateListAnimator", "()Landroid/animation/StateListAnimator;", "GetGetStateListAnimatorHandler")] get; [Android.Runtime.Register("setStateListAnimator", "(Landroid/animation/StateListAnimator;)V", "GetSetStateListAnimator_Landroid_animation_StateListAnimator_Handler")] set; }
[<get: Android.Runtime.Register("getStateListAnimator", "()Landroid/animation/StateListAnimator;", "GetGetStateListAnimatorHandler")>]
[<set: Android.Runtime.Register("setStateListAnimator", "(Landroid/animation/StateListAnimator;)V", "GetSetStateListAnimator_Landroid_animation_StateListAnimator_Handler")>]
member this.StateListAnimator : Android.Animation.StateListAnimator with get, set

Property Value

StateListAnimator or null if it does not exists

Attributes

Remarks

Property getter documentation:

Returns the current StateListAnimator if exists.

Java documentation for android.view.View.getStateListAnimator().

Property setter documentation:

Attaches the provided StateListAnimator to this View.

Any previously attached StateListAnimator will be detached.

Java documentation for android.view.View.setStateListAnimator(android.animation.StateListAnimator).

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