/// <summary> /// Show a pop-up menu. /// </summary> /// <param name="reactTag"> /// The tag of the anchor view (the pop-up menu is displayed next to /// this view); this needs to be the tag of a native view (shadow views /// cannot be anchors). /// </param> /// <param name="items">The menu items as an array of strings.</param> /// <param name="error"> /// Callback used if there is an error displaying the menu. /// </param> /// <param name="success"> /// Callback used with the position of the selected item as the first /// argument, or no arguments if the menu is dismissed. /// </param> public void ShowPopupMenu(int reactTag, string[] items, ICallback error, ICallback success) { AssertViewExists(reactTag); _operationsQueue.EnqueueShowPopupMenu(reactTag, items, error, success); }