[This documentation is preliminary and is subject to change.]
Shows the context menu in a position relative to the selection.This member is overloaded. For complete information about this member, including syntax and usage, click a name in the overload list.
Overload list
| Method | Description |
|---|---|
| ShowForSelectionAsync(Rect) | Shows the context menu above the specified selection. |
| ShowForSelectionAsync(Rect, Placement) | Shows the context menu in the preferred placement relative to the specified selection. |
Remarks
You can see code examples that demonstrate how to create and customize context menus in the Context menu sample on the Metro style app sample home page.
Requirements
|
Minimum supported client | Windows 8 Release Preview |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 5/22/2012
