Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ContextMenuService Attached Properties

ContextMenuService Properties

.NET Framework 3.0

  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

Community Additions

ADD
Show:
© 2015 Microsoft