Switch.TrackTintBlendMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.