PropertyValuesHolder.PropertyName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the property that will be animated. -or- Sets the name of the property that will be animated.
public virtual string? PropertyName { [Android.Runtime.Register("getPropertyName", "()Ljava/lang/String;", "GetGetPropertyNameHandler")] get; [Android.Runtime.Register("setPropertyName", "(Ljava/lang/String;)V", "GetSetPropertyName_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getPropertyName", "()Ljava/lang/String;", "GetGetPropertyNameHandler")>]
[<set: Android.Runtime.Register("setPropertyName", "(Ljava/lang/String;)V", "GetSetPropertyName_Ljava_lang_String_Handler")>]
member this.PropertyName : string with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
Gets the name of the property that will be animated. This name will be used to derive a setter function that will be called to set animated values. For example, a property name of foo
will result in a call to the function setFoo()
on the target object. If either valueFrom
or valueTo
is null, then a getter function will also be derived and called.
Java documentation for android.animation.PropertyValuesHolder.getPropertyName()
.
Property setter documentation:
Sets the name of the property that will be animated. This name is used to derive a setter function that will be called to set animated values. For example, a property name of foo
will result in a call to the function setFoo()
on the target object. If either valueFrom
or valueTo
is null, then a getter function will also be derived and called.
Note that the setter function derived from this property name must take the same parameter type as the valueFrom
and valueTo
properties, otherwise the call to the setter function will fail.
Java documentation for android.animation.PropertyValuesHolder.setPropertyName(java.lang.String)
.
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.