ContextMenuService Class
namespace Noesis | MSDN
Provides the system implementation for displaying a ContextMenu.
Methods
Name | Description |
---|---|
GetContextMenu | Gets the value of the ContextMenu property of the specified object |
GetHasDropShadow | Gets a value that indicates whether the context menu appears with a dropped shadow |
GetHorizontalOffset | Gets the horizontal distance between the target origin and the popup alignment point |
GetIsEnabled | Gets a value that indicates whether the ContextMenu can be shown |
GetPlacement | Gets a value that specifies the placement of the ContextMenu relative to the PlacementTarget or PlacementRectangle properties |
GetPlacementRectangle | Gets the area relative to which the context menu is positioned when it opens |
GetPlacementTarget | Gets the parent control relative to which the ContextMenu is positioned when it opens |
GetShowOnDisabled | Gets a value that indicates whether the ContextMenu should be shown when its parent is grayed out |
GetVerticalOffset | Gets the vertical distance between the target origin and the popup alignment point |
SetContextMenu | Sets the value of the ContextMenu property of the specified object |
SetHasDropShadow | Sets a value that indicates whether the context menu appears with a dropped shadow |
SetHorizontalOffset | Sets the horizontal distance between the target origin and the popup alignment point |
SetIsEnabled | Sets a value that indicates whether the ContextMenu can be shown |
SetPlacement | Sets a value that specifies the placement of the ContextMenu relative to the PlacementTarget or PlacementRectangle |
SetPlacementRectangle | Sets the area relative to which the context menu is positioned when it opens |
SetPlacementTarget | Sets the parent control relative to which the ContextMenu is positioned when it opens |
SetShowOnDisabled | Sets a value that indicates whether the ContextMenu should be shown when its parent is grayed out |
SetVerticalOffset | Sets the vertical distance between the target origin and the popup alignment point |
Properties
ContextMenuService has no properties
Events
ContextMenuService has no events
Table of Contents