NumberPicker.Value 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.
Returns the value of the picker. -or- Set the current value for the number picker.
public virtual int Value { [Android.Runtime.Register("getValue", "()I", "GetGetValueHandler")] get; [Android.Runtime.Register("setValue", "(I)V", "GetSetValue_IHandler")] set; }
[<get: Android.Runtime.Register("getValue", "()I", "GetGetValueHandler")>]
[<set: Android.Runtime.Register("setValue", "(I)V", "GetSetValue_IHandler")>]
member this.Value : int with get, set
Property Value
The value.
- Attributes
Remarks
Property getter documentation:
Returns the value of the picker.
Java documentation for android.widget.NumberPicker.getValue()
.
Property setter documentation:
Set the current value for the number picker.
If the argument is less than the NumberPicker#getMinValue()
and NumberPicker#getWrapSelectorWheel()
is false
the current value is set to the NumberPicker#getMinValue()
value.
If the argument is less than the NumberPicker#getMinValue()
and NumberPicker#getWrapSelectorWheel()
is true
the current value is set to the NumberPicker#getMaxValue()
value.
If the argument is more than the NumberPicker#getMaxValue()
and NumberPicker#getWrapSelectorWheel()
is false
the current value is set to the NumberPicker#getMaxValue()
value.
If the argument is more than the NumberPicker#getMaxValue()
and NumberPicker#getWrapSelectorWheel()
is true
the current value is set to the NumberPicker#getMinValue()
value.
Java documentation for android.widget.NumberPicker.setValue(int)
.
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.