次の方法で共有


IMenuItem.SetTooltipText Method

Definition

Overloads

SetTooltipText(ICharSequence)

Change the tooltip text associated with this menu item.

SetTooltipText(String)

Change the tooltip text associated with this menu item.

SetTooltipText(ICharSequence)

Change the tooltip text associated with this menu item.

[Android.Runtime.Register("setTooltipText", "(Ljava/lang/CharSequence;)Landroid/view/MenuItem;", "GetSetTooltipText_Ljava_lang_CharSequence_Handler:Android.Views.IMenuItem, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public virtual Android.Views.IMenuItem SetTooltipText (Java.Lang.ICharSequence? tooltipText);
[<Android.Runtime.Register("setTooltipText", "(Ljava/lang/CharSequence;)Landroid/view/MenuItem;", "GetSetTooltipText_Ljava_lang_CharSequence_Handler:Android.Views.IMenuItem, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member SetTooltipText : Java.Lang.ICharSequence -> Android.Views.IMenuItem
override this.SetTooltipText : Java.Lang.ICharSequence -> Android.Views.IMenuItem

Parameters

tooltipText
ICharSequence

The new tooltip text.

Returns

Attributes

Remarks

Change the tooltip text associated with this menu item.

Java documentation for android.view.MenuItem.setTooltipText(java.lang.CharSequence).

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

SetTooltipText(String)

Change the tooltip text associated with this menu item.

public virtual Android.Views.IMenuItem SetTooltipText (string? tooltipText);
abstract member SetTooltipText : string -> Android.Views.IMenuItem
override this.SetTooltipText : string -> Android.Views.IMenuItem

Parameters

tooltipText
String

The new tooltip text.

Returns

Remarks

Change the tooltip text associated with this menu item.

Java documentation for android.view.MenuItem.setTooltipText(java.lang.CharSequence).

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