Export (0) Print
Expand All

ContextMenuService Members

Provides the system implementation for displaying a ContextMenu.

The ContextMenuService type exposes the following members.

  NameDescription
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 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

  NameDescription
Public field Static member ContextMenuClosingEvent Identifies the ContextMenuClosing routed event, as exposed on classes that implement this event.
Public field Static member ContextMenuOpeningEvent Identifies the ContextMenuOpening routed event, as exposed on classes that implement this event.
Public field Static member ContextMenuProperty Identifies the ContextMenu attached property.
Public field Static member HasDropShadowProperty Identifies the HasDropShadow attached property.
Public field Static member HorizontalOffsetProperty Identifies the HorizontalOffset attached property.
Public field Static member IsEnabledProperty Identifies the IsEnabled attached property.
Public field Static member PlacementProperty Identifies the Placement attached property.
Public field Static member PlacementRectangleProperty Identifies the PlacementRectangle attached property.
Public field Static member PlacementTargetProperty Identifies the PlacementTarget attached property.
Public field Static member ShowOnDisabledProperty Identifies the ShowOnDisabled attached property.
Public field Static member VerticalOffsetProperty Identifies the VerticalOffset attached property.
Top

  NameDescription
Public attached property ContextMenu Gets or sets the content of a ContextMenu.
Public attached property HasDropShadow Gets or sets a value that indicates whether the ContextMenu has the drop shadow effect enabled.
Public attached 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 attached property IsEnabled Gets or sets a value that indicates whether the ContextMenu can be shown.
Public attached property Placement Gets or sets a value that specifies the placement of the ContextMenu relative to the PlacementTarget or PlacementRectangle.
Public attached property PlacementRectangle Gets or sets the area relative to which the context menu is positioned when it opens. This is a dependency property.
Public attached property PlacementTarget Gets or sets the parent control of the ContextMenu.
Public attached property ShowOnDisabled Gets or sets a value that indicates whether the ContextMenu should be shown when its parent is grayed out.
Public attached 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

Community Additions

ADD
Show:
© 2014 Microsoft