Android Guides | Samples

Android.Widget.NumberPicker.SetDisplayedValues Method

Sets the values to be displayed.

Syntax

[Android.Runtime.Register("setDisplayedValues", "([Ljava/lang/String;)V", "GetSetDisplayedValues_arrayLjava_lang_String_Handler")]
public virtual Void SetDisplayedValues (String[] displayedValues)

Parameters

displayedValues
The displayed values. Note: The length of the displayed values array must be equal to the range of selectable numbers which is equal to NumberPicker.MaxValue - NumberPicker.MinValue + 1.

Remarks

Sets the values to be displayed.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11