ProgressBar.MaxWidth Property

Definition

Sets the maximum width the progress bar can have.

public virtual int MaxWidth { [Android.Runtime.Register("getMaxWidth", "()I", "GetGetMaxWidthHandler", ApiSince=29)] get; [Android.Runtime.Register("setMaxWidth", "(I)V", "GetSetMaxWidth_IHandler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getMaxWidth", "()I", "GetGetMaxWidthHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setMaxWidth", "(I)V", "GetSetMaxWidth_IHandler", ApiSince=29)>]
member this.MaxWidth : int with get, set

Property Value

the maximum width the progress bar can have, in pixels

Attributes

Remarks

Property getter documentation:

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

Property setter documentation:

Sets the maximum width the progress bar can have.

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