Compartir a través de


ISubMenu.SetHeaderTitle Method

Definition

Overloads

SetHeaderTitle(ICharSequence)

Sets the submenu header's title to the title given in <var>title</var>.

SetHeaderTitle(Int32)

Sets the submenu header's title to the title given in <var>titleRes</var> resource identifier.

SetHeaderTitle(ICharSequence)

Sets the submenu header's title to the title given in <var>title</var>.

[Android.Runtime.Register("setHeaderTitle", "(Ljava/lang/CharSequence;)Landroid/view/SubMenu;", "GetSetHeaderTitle_Ljava_lang_CharSequence_Handler:Android.Views.ISubMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Views.ISubMenu? SetHeaderTitle (Java.Lang.ICharSequence? title);
[<Android.Runtime.Register("setHeaderTitle", "(Ljava/lang/CharSequence;)Landroid/view/SubMenu;", "GetSetHeaderTitle_Ljava_lang_CharSequence_Handler:Android.Views.ISubMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetHeaderTitle : Java.Lang.ICharSequence -> Android.Views.ISubMenu

Parameters

title
ICharSequence

The character sequence used for the title.

Returns

This SubMenu so additional setters can be called.

Attributes

Remarks

Sets the submenu header's title to the title given in <var>title</var>.

Java documentation for android.view.SubMenu.setHeaderTitle(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

SetHeaderTitle(Int32)

Sets the submenu header's title to the title given in <var>titleRes</var> resource identifier.

[Android.Runtime.Register("setHeaderTitle", "(I)Landroid/view/SubMenu;", "GetSetHeaderTitle_IHandler:Android.Views.ISubMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Views.ISubMenu? SetHeaderTitle (int titleRes);
[<Android.Runtime.Register("setHeaderTitle", "(I)Landroid/view/SubMenu;", "GetSetHeaderTitle_IHandler:Android.Views.ISubMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetHeaderTitle : int -> Android.Views.ISubMenu

Parameters

titleRes
Int32

The string resource identifier used for the title.

Returns

This SubMenu so additional setters can be called.

Attributes

Remarks

Sets the submenu header's title to the title given in <var>titleRes</var> resource identifier.

Java documentation for android.view.SubMenu.setHeaderTitle(int).

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