Compartir a través de


NumberPicker.SetFormatter(NumberPicker+IFormatter) Método

Definición

Establezca el formateador que se usará para dar formato al valor actual.

[Android.Runtime.Register("setFormatter", "(Landroid/widget/NumberPicker$Formatter;)V", "GetSetFormatter_Landroid_widget_NumberPicker_Formatter_Handler")]
public virtual void SetFormatter (Android.Widget.NumberPicker.IFormatter? formatter);
[<Android.Runtime.Register("setFormatter", "(Landroid/widget/NumberPicker$Formatter;)V", "GetSetFormatter_Landroid_widget_NumberPicker_Formatter_Handler")>]
abstract member SetFormatter : Android.Widget.NumberPicker.IFormatter -> unit
override this.SetFormatter : Android.Widget.NumberPicker.IFormatter -> unit

Parámetros

formatter
NumberPicker.IFormatter

Objeto formateador. Si el formateador es <código>null</código>, String#valueOf(int) se usará.

Atributos

Comentarios

Documentación de Java para android.widget.NumberPicker.setFormatter(android.widget.Formatter).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.

Se aplica a

Consulte también