다음을 통해 공유


ProgressBar.Max Property

Definition

Return the upper limit of this progress bar's range. -or- Set the upper range of the progress bar max.

public virtual int Max { [Android.Runtime.Register("getMax", "()I", "GetGetMaxHandler")] get; [Android.Runtime.Register("setMax", "(I)V", "GetSetMax_IHandler")] set; }
[<get: Android.Runtime.Register("getMax", "()I", "GetGetMaxHandler")>]
[<set: Android.Runtime.Register("setMax", "(I)V", "GetSetMax_IHandler")>]
member this.Max : int with get, set

Property Value

a positive integer

Attributes

Remarks

Property getter documentation:

Return the upper limit of this progress bar's range.

Java documentation for android.widget.ProgressBar.getMax().

Property setter documentation:

Set the upper range of the progress bar max.

Java documentation for android.widget.ProgressBar.setMax(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

See also