Android.Views.IMenuItem.SetTitle Method
Change the title associated with this item.

Syntax

[Android.Runtime.Register("setTitle", "(I)Landroid/view/MenuItem;", "GetSetTitle_IHandler:Android.Views.IMenuItemInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public IMenuItem SetTitle (int title)

See Also

IMenuItem.SetTitleCondensed(Java.Lang.ICharSequence)

Parameters

title
The resource id of the new text to be displayed.

Returns

Documentation for this section has not yet been entered.

Remarks

Change the title associated with this item.

Some menu types do not sufficient space to show the full title, and instead a condensed title is preferred. See Android.Views.Menu for more information.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1