Android Guides | Samples

Android.Views.IMenu.SetGroupEnabled Method

Enable or disable all menu items that are in the given group.

Syntax

[Android.Runtime.Register("setGroupEnabled", "(IZ)V", "GetSetGroupEnabled_IZHandler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Void SetGroupEnabled (Int32 group, Boolean enabled)

See Also

Parameters

group
The group of items to operate on.
enabled
If true the items will be enabled, else they will be disabled.

Remarks

Enable or disable all menu items that are in the given group.

[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