ContextMenuService Methods
.NET Framework 4.5
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
The ContextMenuService type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddContextMenuClosingHandler | Adds a handler for the ContextMenuClosing attached event. |
|
AddContextMenuOpeningHandler | Adds a handler for the ContextMenuOpening attached event. |
|
GetContextMenu | Gets the value of the ContextMenu property of the specified object. |
|
GetHasDropShadow | Gets a value that indicates whether the ContextMenu has a drop shadow. |
|
GetHorizontalOffset | Gets the value of the HorizontalOffset property of the specified object. |
|
GetIsEnabled | Gets the value of the IsEnabled property of the specified object. |
|
GetPlacement | Gets the value of the Placement property of the specified object. |
|
GetPlacementRectangle | Gets the value of the PlacementRectangle property of the specified object. |
|
GetPlacementTarget | Gets the value of the PlacementTa()rget property of the specified object. |
|
GetShowOnDisabled | Gets the value of the ShowOnDisabled property of the specified object. |
|
GetVerticalOffset | Gets the value of the VerticalOffset property of the specified object. |
|
RemoveContextMenuClosingHandler | Removes a handler for the ContextMenuClosing attached event. |
|
RemoveContextMenuOpeningHandler | Removes a handler for the ContextMenuOpening attached event. |
|
SetContextMenu | Sets the value of the ContextMenu property of the specified object. |
|
SetHasDropShadow | Sets a value that indicates whether the ContextMenu has a drop shadow. |
|
SetHorizontalOffset | Sets the value of the HorizontalOffset property of the specified object. |
|
SetIsEnabled | Sets the value of the IsEnabled property of the specified object. |
|
SetPlacement | Sets the value of the Placement property of the specified object. |
|
SetPlacementRectangle | Sets the value of the P()lacementRectangle property of the specified object. |
|
SetPlacementTarget | Sets the value of the PlacementTarget property of the specified object. |
|
SetShowOnDisabled | Sets the value of the ShowOnDisabled property of the specified object. |
|
SetVerticalOffset | Sets the value of the Vertica()lOffset property of the specified object. |