CompoundButton.ButtonTintMode 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 的 public virtual Android.Graphics.PorterDuff.Mode? ButtonTintMode { get; set; }管理綁定。
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
屬性值
混合模式用來為按鈕繪製物件套用色調
- 屬性
備註
Java 文件 android.widget.CompoundButton.getButtonTintMode()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
另請參閱
- ButtonTintMode
- <xref:Android.Graphics.Drawables.Drawable.SetTintMode(.Mode)>