Fragment.SetMenuVisibility(Boolean) Fragment.SetMenuVisibility(Boolean) Method


Set a hint for whether this fragment's menu should be visible.

[Android.Runtime.Register("setMenuVisibility", "(Z)V", "GetSetMenuVisibility_ZHandler", ApiSince=14)]
public virtual void SetMenuVisibility (bool menuVisible);
abstract member SetMenuVisibility : bool -> unit
override this.SetMenuVisibility : bool -> unit


Boolean Boolean

The default is true, meaning the fragment's menu will be shown as usual. If false, the user will not see the menu.


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