'Declaration Public Enum PlacementMode Inherits System.Enum
public enum PlacementMode : System.Enum
Member | Description |
---|---|
AlignedAbove | A position of the XamContextMenu control that aligns its lower edge with the upper edge of the target and aligns its left edge with the left edge of the target. If a screen edge obscures the XamContextMenu, the control repositions itself to align with the screen edge. |
AlignedBelow | A position of the XamContextMenu control where the control aligns its upper edge with the lower edge of the target and aligns its left edge with the left edge of the target. If a screen edge obscures the XamContextMenu, the control repositions itself to align with the screen edge. |
AlignedBottom | A position of the XamContextMenu control that aligns its lower edge with the lower edge of the target and aligns its left edge with the left edge of the target. If a screen edge obscures the XamContextMenu, the control repositions itself to align with the screen edge. |
AlignedLeft | A position of the XamContextMenu control that aligns its left edge with the left edge of the target and aligns its upper edge with the upper edge of the target. If a screen edge obscures the XamContextMenu, the control repositions itself to align with the screen edge. |
AlignedRight | A position of the XamContextMenu control that aligns its right edge with the right edge of the target and aligns its upper edge with the upper edge of the target. If a screen edge obscures the XamContextMenu, the control repositions itself to align with the screen edge. |
AlignedTop | A position of the XamContextMenu control that aligns its upper edge with the upper edge of the target and aligns its left edge with the left edge of the target. If a screen edge obscures the XamContextMenu, the control repositions itself to align with the screen edge. |
AlignedToTheLeft | A XamContextMenu control that aligns its right edge with the left edge of the target and aligns its upper edge with the upper edge of the target. If a screen edge obscures the XamContextMenu, the control repositions itself to align with the screen edge. |
AlignedToTheRight | A position of the XamContextMenu control that aligns its left edge with the right edge of the target and aligns its upper edge with the upper edge of the target. If a screen edge obscures the XamContextMenu, the control repositions itself to align with the screen edge. |
Center | A position of the XamContextMenu control where it is centered over the target. If a screen edge obscures the XamContextMenu, the control repositions itself to align with the screen edge. |
Manual | A position of the XamContextMenu control relative to the upper-left corner of the target and at an offset that is defined by the XamContextMenu.HorizontalOffset and XamContextMenu.VerticalOffset property values. If a screen edge obscures the XamContextMenu, the control repositions itself to align with the screen edge. |
MouseClick | A position of the XamContextMenu control relative to the mouse position and at an offset that is defined by the XamContextMenu.HorizontalOffset and XamContextMenu.VerticalOffset property values. If a screen edge obscures the XamContextMenu, the control repositions itself to align with the screen edge. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2