Gets or sets the ContextMenu.property of a
Assembly: PresentationFramework (in PresentationFramework.dll)
When the ContextMenu is assigned to the FrameworkElement::ContextMenu or FrameworkContentElement::ContextMenu property, the ContextMenuService changes this value of this property when the ContextMenu opens. If the user opens the ContextMenu by using the mouse, is set to MousePoint. If the user opens the ContextMenu by using the keyboard, is set to Center. If you want to change the position of the ContextMenu, set the ContextMenuService::Placement property on the FrameworkElement or FrameworkContentElement.
You can position a ContextMenu by setting the PlacementTarget, PlacementRectangle, , HorizontalOffset, and VerticalOffsetProperty properties. These properties behave the same as they do for a Popup. For more information, see Popup Placement Behavior.
Available since 3.0