言語

Switch.SetThumbIcon(Icon) メソッド

定義

スイッチ "thumb" に使用する描画可能な要素 (ユーザーがトラックに沿って物理的にタッチしてドラッグできる部分) を、指定されたアイコンに設定します。

[Android.Runtime.Register("setThumbIcon", "(Landroid/graphics/drawable/Icon;)V", "GetSetThumbIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=31)]
public virtual void SetThumbIcon(Android.Graphics.Drawables.Icon? icon);
[<Android.Runtime.Register("setThumbIcon", "(Landroid/graphics/drawable/Icon;)V", "GetSetThumbIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=31)>]
abstract member SetThumbIcon : Android.Graphics.Drawables.Icon -> unit
override this.SetThumbIcon : Android.Graphics.Drawables.Icon -> unit

パラメーター

icon
Icon

目的のサムを保持しているアイコン、またはサムをクリアするためのnull

属性

注釈

スイッチ "thumb" に使用する描画可能な要素 (ユーザーがトラックに沿って物理的にタッチしてドラッグできる部分) を、指定されたアイコンに設定します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象