Placement enumeration

Applies to Windows and Windows Phone

Specifies where the context menu should be positioned relative to the selection rectangle.

Syntax

Public Enum Placement

Attributes

[Version(0x06020000)]

Members

The Placement enumeration has these members.

MemberValueDescription
Default | default0

Place the context menu above the selection rectangle.

Above | above1

Place the context menu above the selection rectangle.

Below | below2

Place the context menu below the selection rectangle.

Left | left3

Place the context menu to the left of the selection rectangle.

Right | right4

Place the context menu to the right of the selection rectangle.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

PopupMenu.ShowForSelectionAsync

 

 

Show:
© 2014 Microsoft