Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ContextMenuService Members

Service class that provides the system implementation for displaying a ContextMenu.

The following tables list the members exposed by the ContextMenuService type.

  Name Description
Public field Static ContextMenuClosingEvent Identifies the ContextMenuClosing event, as exposed on classes that implement this event.
Public field Static ContextMenuOpeningEvent Identifies the ContextMenuOpening event, as exposed on classes that implement this event.
Public field Static ContextMenuProperty Identifies the ContextMenu attached property.
Public field Static HasDropShadowProperty Identifies the HasDropShadow attached property.
Public field Static HorizontalOffsetProperty Identifies the HorizontalOffset attached property.
Public field Static IsEnabledProperty Identifies the IsEnabled attached property.
Public field Static PlacementProperty Identifies the Placement attached property.
Public field Static PlacementRectangleProperty Identifies the PlacementRectangle attached property.
Public field Static PlacementTargetProperty Identifies the PlacementTarget attached property.
Public field Static ShowOnDisabledProperty Identifies the ShowOnDisabled attached property.
Public field Static VerticalOffsetProperty Identifies the VerticalOffset attached property.
Top
  Name Description
Public property ContextMenu Gets or sets the content of a ContextMenu.
Public property HasDropShadow Gets or sets a value that indicates whether the ContextMenu has the drop shadow effect enabled.
Public property HorizontalOffset Gets or sets a value that indicates where along the x-direction to place the ContextMenu with respect to the parent control.
Public property IsEnabled Gets or sets a value that indicates whether the ContextMenu can be shown.
Public property Placement Gets or sets a value that specifies the placement of the ContextMenu relative to the PlacementTarget or PlacementRectangle.
Public property PlacementRectangle Gets or sets a rectangle that is used to determine the placement of a ContextMenu.
Public property PlacementTarget Gets or sets the parent control of the ContextMenu.
Public property ShowOnDisabled Gets or sets a value that indicates whether the ContextMenu should be shown when its parent is grayed out.
Public property VerticalOffset Gets or sets a value that indicates where along the y-direction to place the ContextMenu with respect to the parent control.
Top
(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static GetContextMenu Gets the value of the ContextMenu property of the specified object.
Public method Static GetHasDropShadow Gets a value that indicates whether the ContextMenu has a drop shadow.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Static GetHorizontalOffset Gets the value of the HorizontalOffset property of the specified object.
Public method Static GetIsEnabled Gets the value of the IsEnabled property of the specified object.
Public method Static GetPlacement Gets the value of the Placement property of the specified object.
Public method Static GetPlacementRectangle Gets the value of the PlacementRectangle property of the specified object.
Public method Static GetPlacementTarget Gets the value of the PlacementTarget property of the specified object.
Public method Static GetShowOnDisabled Gets the value of the ShowOnDisabled property of the specified object.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static GetVerticalOffset Gets the value of the VerticalOffset property of the specified object.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static SetContextMenu Sets the value of the ContextMenu property of the specified object.
Public method Static SetHasDropShadow Sets a value that indicates whether the ContextMenu has a drop shadow.
Public method Static SetHorizontalOffset Sets the value of the HorizontalOffset property of the specified object.
Public method Static SetIsEnabled Sets the value of the IsEnabled property of the specified object.
Public method Static SetPlacement Sets the value of the Placement property of the specified object.
Public method Static SetPlacementRectangle Sets the value of the PlacementRectangle property of the specified object.
Public method Static SetPlacementTarget Sets the value of the PlacementTarget property of the specified object.
Public method Static SetShowOnDisabled Sets the value of the ShowOnDisabled property of the specified object.
Public method Static SetVerticalOffset Sets the value of the VerticalOffset property of the specified object.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.