Class ISN_UIMenuController
Inheritance
System.Object
ISN_UIMenuController
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.UIKit
Assembly: cs.temp.dll.dll
Syntax
public class ISN_UIMenuController
Properties
MenuItems
The custom menu items for the editing menu.
Declaration
public List<string> MenuItems { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> |
SharedMenuController
Returns the menu controller. The shared ISN_UIMenuController instance.
Declaration
public static ISN_UIMenuController SharedMenuController { get; }
Property Value
Type | Description |
---|---|
ISN_UIMenuController |
Methods
ShowMenuFromPosition(Single, Single, Action<ISN_UIMenuControllerResult>)
Show the ISN_UIMenuController in a position above or below xPos and yPos you set. The menu appears above the target position or, if there is not enough space for it, below it.
Declaration
public void ShowMenuFromPosition(float xPos, float yPos, Action<ISN_UIMenuControllerResult> callback)
Parameters
Type | Name | Description |
---|---|---|
System.Single | xPos | x position for the center of ISN_UIMenuController. |
System.Single | yPos | y position for the center of ISN_UIMenuController. |
Action<ISN_UIMenuControllerResult> | callback | This is callback that will be called from ISN_UIMenuController when user will pick some option. It shouldn't be null. |