Udostępnij za pośrednictwem


CompoundButton.ButtonTintMode Property

Definition

public virtual Android.Graphics.PorterDuff.Mode? ButtonTintMode { [Android.Runtime.Register("getButtonTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetButtonTintModeHandler")] get; [Android.Runtime.Register("setButtonTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetButtonTintMode_Landroid_graphics_PorterDuff_Mode_Handler")] set; }
[<get: Android.Runtime.Register("getButtonTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetButtonTintModeHandler")>]
[<set: Android.Runtime.Register("setButtonTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetButtonTintMode_Landroid_graphics_PorterDuff_Mode_Handler")>]
member this.ButtonTintMode : Android.Graphics.PorterDuff.Mode with get, set

Property Value

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

Attributes

Remarks

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

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

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