Freigeben über


ProgressBar.ProgressDrawable Property

Definition

Get the drawable used to draw the progress bar in progress mode. -or- Define the drawable used to draw the progress bar in progress mode.

public virtual Android.Graphics.Drawables.Drawable? ProgressDrawable { [Android.Runtime.Register("getProgressDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetProgressDrawableHandler")] get; [Android.Runtime.Register("setProgressDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetProgressDrawable_Landroid_graphics_drawable_Drawable_Handler")] set; }
[<get: Android.Runtime.Register("getProgressDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetProgressDrawableHandler")>]
[<set: Android.Runtime.Register("setProgressDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetProgressDrawable_Landroid_graphics_drawable_Drawable_Handler")>]
member this.ProgressDrawable : Android.Graphics.Drawables.Drawable with get, set

Property Value

a android.graphics.drawable.Drawable instance

Attributes

Remarks

Property getter documentation:

Get the drawable used to draw the progress bar in progress mode.

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

Property setter documentation:

Define the drawable used to draw the progress bar in progress mode.

Java documentation for android.widget.ProgressBar.setProgressDrawable(android.graphics.drawable.Drawable).

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