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

Definition

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

Parameters

menuVisible
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.

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