Freigeben über


PropertyValuesHolder.SetProperty(Property) Method

Definition

Sets the property that will be animated.

[Android.Runtime.Register("setProperty", "(Landroid/util/Property;)V", "GetSetProperty_Landroid_util_Property_Handler")]
public virtual void SetProperty (Android.Util.Property? property);
[<Android.Runtime.Register("setProperty", "(Landroid/util/Property;)V", "GetSetProperty_Landroid_util_Property_Handler")>]
abstract member SetProperty : Android.Util.Property -> unit
override this.SetProperty : Android.Util.Property -> unit

Parameters

property
Property

The property being animated.

Attributes

Remarks

Sets the property that will be animated.

Note that if this PropertyValuesHolder object is used with ObjectAnimator, the property must exist on the target object specified in that ObjectAnimator.

Java documentation for android.animation.PropertyValuesHolder.setProperty(android.util.Property).

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