Method | Description | |
---|---|---|
PopupMenu ( ) : System |
Creates a new instance of the PopupMenu class.
|
|
ShowAsync ( Point invocationPoint ) : Task |
Shows the context menu at the specified client coordinates.
|
|
ShowForSelectionAsync ( |
Shows the context menu by the specified selection.
|
|
ShowForSelectionAsync ( |
Shows the context menu in the preferred placement relative to the specified selection.
|
Method | Description | |
---|---|---|
ActionClicked ( UIAlertAction action ) : void | ||
Clicked ( object sender, Android e ) : void |
public ShowAsync ( Point invocationPoint ) : Task |
||
invocationPoint | Point | The coordinates (in DIPs), relative to the window, of the user's finger or mouse pointer when the oncontextmenu event fired. /// The menu is placed above and centered on this point. |
return | Task |
public ShowForSelectionAsync ( |
||
selection | The coordinates (in DIPs) of the selected rectangle, relative to the window. | |
return | Task |
public ShowForSelectionAsync ( |
||
selection | The coordinates (in DIPs) of the selected rectangle, relative to the window. | |
preferredPlacement | Placement | The preferred placement of the context menu relative to the selection rectangle. |
return | Task |