Udostępnij za pośrednictwem


CompoundButton.ButtonTintBlendMode Property

Definition

Specifies the blending mode used to apply the tint specified by #setButtonTintList(ColorStateList)} to the button drawable.

public virtual Android.Graphics.BlendMode? ButtonTintBlendMode { [Android.Runtime.Register("getButtonTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetButtonTintBlendModeHandler", ApiSince=29)] get; [Android.Runtime.Register("setButtonTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetButtonTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getButtonTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetButtonTintBlendModeHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setButtonTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetButtonTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)>]
member this.ButtonTintBlendMode : Android.Graphics.BlendMode with get, set

Property Value

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

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.CompoundButton.getButtonTintBlendMode().

Property setter documentation:

Specifies the blending mode used to apply the tint specified by #setButtonTintList(ColorStateList)} to the button drawable. The default mode is PorterDuff.Mode#SRC_IN.

Java documentation for android.widget.CompoundButton.setButtonTintBlendMode(android.graphics.BlendMode).

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