Dela via


Placement Enum

Definition

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

public enum class Placement
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class Placement
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum Placement
var value = Windows.UI.Popups.Placement.default
Public Enum Placement
Inheritance
Placement
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Default 0

Place the context menu above the selection rectangle.

Above 1

Place the context menu above the selection rectangle.

Below 2

Place the context menu below the selection rectangle.

Left 3

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

Right 4

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

Applies to

See also