共用方式為


CompoundButton.ButtonTintMode 屬性

定義

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

屬性值

用來將色調套用至按鈕可繪製的混合模式

屬性

備註

android.widget.CompoundButton.getButtonTintMode()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

另請參閱

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