Android.Views.IMenuItem.SetCheckable Method
Control whether this item can display a check mark.

Syntax

[Android.Runtime.Register("setCheckable", "(Z)Landroid/view/MenuItem;", "GetSetCheckable_ZHandler:Android.Views.IMenuItemInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public IMenuItem SetCheckable (bool checkable)

See Also

IMenuItem.SetChecked(bool)
IMenuItem.IsCheckable

Parameters

checkable
Set to true to allow a check mark, false to disallow. The default is false.

Returns

Documentation for this section has not yet been entered.

Remarks

Control whether this item can display a check mark. Setting this does not actually display a check mark (see IMenuItem.SetChecked(bool) for that); rather, it ensures there is room in the item in which to display a check mark.

See Android.Views.Menu for the menu types that support check marks.

[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