ContextMenuService Methods

The ContextMenuService type exposes the following members.

  Name Description
Public method Static member AddContextMenuClosingHandler Adds a handler for the ContextMenuClosing attached event.
Public method Static member AddContextMenuOpeningHandler Adds a handler for the ContextMenuOpening attached event.
Public method Static member GetContextMenu Gets the value of the ContextMenu property of the specified object.
Public method Static member GetHasDropShadow Gets a value that indicates whether the ContextMenu has a drop shadow.
Public method Static member GetHorizontalOffset Gets the value of the HorizontalOffset property of the specified object.
Public method Static member GetIsEnabled Gets the value of the IsEnabled property of the specified object.
Public method Static member GetPlacement Gets the value of the Placement property of the specified object.
Public method Static member GetPlacementRectangle Gets the value of the PlacementRectangle property of the specified object.
Public method Static member GetPlacementTarget Gets the value of the PlacementTarget property of the specified object.
Public method Static member GetShowOnDisabled Gets the value of the ShowOnDisabled property of the specified object.
Public method Static member GetVerticalOffset Gets the value of the VerticalOffset property of the specified object.
Public method Static member RemoveContextMenuClosingHandler Removes a handler for the ContextMenuClosing attached event.
Public method Static member RemoveContextMenuOpeningHandler Removes a handler for the ContextMenuOpening attached event.
Public method Static member SetContextMenu Sets the value of the ContextMenu property of the specified object.
Public method Static member SetHasDropShadow Sets a value that indicates whether the ContextMenu has a drop shadow.
Public method Static member SetHorizontalOffset Sets the value of the HorizontalOffset property of the specified object.
Public method Static member SetIsEnabled Sets the value of the IsEnabled property of the specified object.
Public method Static member SetPlacement Sets the value of the Placement property of the specified object.
Public method Static member SetPlacementRectangle Sets the value of the PlacementRectangle property of the specified object.
Public method Static member SetPlacementTarget Sets the value of the PlacementTarget property of the specified object.
Public method Static member SetShowOnDisabled Sets the value of the ShowOnDisabled property of the specified object.
Public method Static member SetVerticalOffset Sets the value of the VerticalOffset property of the specified object.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft