Freigeben über


View.ForegroundTintMode Property

Definition

Return the blending mode used to apply the tint to the foreground drawable, if specified.

public virtual Android.Graphics.PorterDuff.Mode? ForegroundTintMode { [Android.Runtime.Register("getForegroundTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetForegroundTintModeHandler", ApiSince=23)] get; [Android.Runtime.Register("setForegroundTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetForegroundTintMode_Landroid_graphics_PorterDuff_Mode_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getForegroundTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetForegroundTintModeHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setForegroundTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetForegroundTintMode_Landroid_graphics_PorterDuff_Mode_Handler", ApiSince=23)>]
member this.ForegroundTintMode : Android.Graphics.PorterDuff.Mode with get, set

Property Value

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

Attributes

Remarks

Java documentation for android.view.View.getForegroundTintMode().

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