4.132 ContextMenuService

x:Object > ContextMenuService
ContextMenuService
(usage)
None.
(description)
Provides the system implementation for displaying a ContextMenu.
[is default constructible]
false
(attachable properties)
ContextMenuService.ContextMenu
ContextMenu
(description)
The content of a ContextMenu.
[target type]
DependencyObject
ContextMenuService.HasDropShadow
x:Boolean
(description)
A value that indicates whether the ContextMenu has the drop shadow effect enabled.
[target type]
DependencyObject
ContextMenuService.HorizontalOffset
x:Double
(description)
A value that indicates where along the x-direction to place the ContextMenu with respect to the parent control.
[target type]
DependencyObject
[text syntax]
LengthSyntax
ContextMenuService.IsEnabled
x:Boolean
(description)
A value that indicates whether the ContextMenu can be shown.
[target type]
DependencyObject
ContextMenuService.Placement
PlacementMode
(description)
A value that specifies the placement of the ContextMenu relative to the PlacementTarget or PlacementRectangle.
[target type]
DependencyObject
ContextMenuService.PlacementRectangle
Rect
(description)
The area relative to which the context menu is positioned when it opens.
[target type]
DependencyObject
ContextMenuService.PlacementTarget
UIElement
(description)
The parent control of the ContextMenu.
[target type]
DependencyObject
ContextMenuService.ShowOnDisabled
x:Boolean
(description)
A value that indicates whether the ContextMenu should be shown when its parent is grayed out.
[target type]
DependencyObject
ContextMenuService.VerticalOffset
x:Double
(description)
A value that indicates where along the y-direction to place the ContextMenu with respect to the parent control.
[target type]
DependencyObject
[text syntax]
LengthSyntax
(attachable events)
ContextMenuService.ContextMenuClosing
Occurs when the ContextMenu closes.
ContextMenuService.ContextMenuOpening
Occurs when the ContextMenu opens.