Udostępnij za pośrednictwem


PropertyValuesHolder.SetConverter(TypeConverter) Method

Definition

Sets the converter to convert from the values type to the setter's parameter type.

[Android.Runtime.Register("setConverter", "(Landroid/animation/TypeConverter;)V", "GetSetConverter_Landroid_animation_TypeConverter_Handler")]
public virtual void SetConverter (Android.Animation.TypeConverter? converter);
[<Android.Runtime.Register("setConverter", "(Landroid/animation/TypeConverter;)V", "GetSetConverter_Landroid_animation_TypeConverter_Handler")>]
abstract member SetConverter : Android.Animation.TypeConverter -> unit
override this.SetConverter : Android.Animation.TypeConverter -> unit

Parameters

converter
TypeConverter

The converter to use to convert values.

Attributes

Remarks

Sets the converter to convert from the values type to the setter's parameter type. If only one value is supplied, <var>converter</var> must be a android.animation.BidirectionalTypeConverter.

Java documentation for android.animation.PropertyValuesHolder.setConverter(android.animation.TypeConverter).

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