共用方式為


NumberPicker.MaxValue Property

Definition

Returns the max value of the picker. -or- Sets the max value of the picker.

public virtual int MaxValue { [Android.Runtime.Register("getMaxValue", "()I", "GetGetMaxValueHandler")] get; [Android.Runtime.Register("setMaxValue", "(I)V", "GetSetMaxValue_IHandler")] set; }
[<get: Android.Runtime.Register("getMaxValue", "()I", "GetGetMaxValueHandler")>]
[<set: Android.Runtime.Register("setMaxValue", "(I)V", "GetSetMaxValue_IHandler")>]
member this.MaxValue : int with get, set

Property Value

The max value.

Attributes

Remarks

Property getter documentation:

Returns the max value of the picker.

Java documentation for android.widget.NumberPicker.getMaxValue().

Property setter documentation:

Sets the max value of the picker.

Java documentation for android.widget.NumberPicker.setMaxValue(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.

Applies to