共用方式為


ProgressBar.ProgressTintMode Property

Definition

Returns the blending mode used to apply the tint to the progress drawable, if specified.

public virtual Android.Graphics.PorterDuff.Mode? ProgressTintMode { [Android.Runtime.Register("getProgressTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetProgressTintModeHandler")] get; [Android.Runtime.Register("setProgressTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetProgressTintMode_Landroid_graphics_PorterDuff_Mode_Handler")] set; }
[<get: Android.Runtime.Register("getProgressTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetProgressTintModeHandler")>]
[<set: Android.Runtime.Register("setProgressTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetProgressTintMode_Landroid_graphics_PorterDuff_Mode_Handler")>]
member this.ProgressTintMode : Android.Graphics.PorterDuff.Mode with get, set

Property Value

the blending mode used to apply the tint to the progress drawable

Attributes

Remarks

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

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

  • ProgressTintMode
  • <xref:Android.Graphics.Drawables.Drawable.SetTintMode(.Mode)>