Sdílet prostřednictvím


ProgressBar.MaxHeight Property

Definition

Sets the maximum height the progress bar can have.

public virtual int MaxHeight { [Android.Runtime.Register("getMaxHeight", "()I", "GetGetMaxHeightHandler", ApiSince=29)] get; [Android.Runtime.Register("setMaxHeight", "(I)V", "GetSetMaxHeight_IHandler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getMaxHeight", "()I", "GetGetMaxHeightHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setMaxHeight", "(I)V", "GetSetMaxHeight_IHandler", ApiSince=29)>]
member this.MaxHeight : int with get, set

Property Value

the maximum height the progress bar can have, in pixels

Attributes

Remarks

Property getter documentation:

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

Property setter documentation:

Sets the maximum height the progress bar can have.

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