Partager via


Switch.TrackTintBlendMode Property

Definition

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

public virtual Android.Graphics.BlendMode? TrackTintBlendMode { [Android.Runtime.Register("getTrackTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetTrackTintBlendModeHandler", ApiSince=29)] get; [Android.Runtime.Register("setTrackTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetTrackTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getTrackTintBlendMode", "()Landroid/graphics/BlendMode;", "GetGetTrackTintBlendModeHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setTrackTintBlendMode", "(Landroid/graphics/BlendMode;)V", "GetSetTrackTintBlendMode_Landroid_graphics_BlendMode_Handler", ApiSince=29)>]
member this.TrackTintBlendMode : Android.Graphics.BlendMode with get, set

Property Value

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

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.Switch.getTrackTintBlendMode().

Property setter documentation:

Specifies the blending mode used to apply the tint specified by #setTrackTintList(ColorStateList)} to the track drawable. The default mode is BlendMode#SRC_IN.

Java documentation for android.widget.Switch.setTrackTintBlendMode(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