UIKit.UIMenuController.SetMenuVisible Method
Displays or hides the editing menu menu.

Syntax

[Foundation.Export("setMenuVisible:animated:")]
public virtual void SetMenuVisible (bool visible, bool animated)

Parameters

visible
If true, shows the editing menu; if false hides it.
animated
Determines whether the menu display should be animated or not.

Remarks

Before the menu is displayed, it is important that the view or view controller that will display the menu are the first responder (you can achieve this by calling UIResponder.BecomeFirstResponder. The view or view controller must implement UIResponder.CanBecomeFirstResponder and it must return true and your view or view controller must implement UIKit.UIResponder.CanPerform to determine which menu items will be shown.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0