Android Guides | Samples

Android.Views.IMenu.SetGroupVisible Method

Show or hide all menu items that are in the given group.

Syntax

[Android.Runtime.Register("setGroupVisible", "(IZ)V", "GetSetGroupVisible_IZHandler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Void SetGroupVisible (Int32 group, Boolean visible)

See Also

Parameters

group
The group of items to operate on.
visible
If true the items are visible, else they are hidden.

Remarks

Show or hide 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