IMenu.SetGroupEnabled(Int32, Boolean) IMenu.SetGroupEnabled(Int32, Boolean) Method

Definition

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

[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 (int group, bool enabled);
abstract member SetGroupEnabled : int * bool -> unit

Parameters

group
Int32 Int32

The group of items to operate on.

enabled
Boolean Boolean

If true the items will be enabled, else they will be disabled.

Remarks

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

See also