PopupMenu.ShowForSelectionAsync | showForSelectionAsync methods

Expand
This topic has not yet been rated - Rate this topic

PopupMenu.ShowForSelectionAsync | showForSelectionAsync methods

[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

MethodDescription
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

Windows.UI.Popups
Windows::UI::Popups [C++]

Metadata

Windows.winmd

See also

PopupMenu

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD