ContextMenuService Methods

ContextMenuService Methods

 

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddContextMenuClosingHandler(DependencyObject, ContextMenuEventHandler)

Adds a handler for the ContextMenuClosing attached event.

System_CAPS_pubmethodSystem_CAPS_staticAddContextMenuOpeningHandler(DependencyObject, ContextMenuEventHandler)

Adds a handler for the ContextMenuOpening attached event.

System_CAPS_pubmethodSystem_CAPS_staticGetContextMenu(DependencyObject)

Gets the value of the ContextMenu property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticGetHasDropShadow(DependencyObject)

Gets a value that indicates whether the ContextMenu has a drop shadow.

System_CAPS_pubmethodSystem_CAPS_staticGetHorizontalOffset(DependencyObject)

Gets the value of the HorizontalOffset property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticGetIsEnabled(DependencyObject)

Gets the value of the IsEnabled property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticGetPlacement(DependencyObject)

Gets the value of the Placement property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticGetPlacementRectangle(DependencyObject)

Gets the value of the PlacementRectangle property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticGetPlacementTarget(DependencyObject)

Gets the value of the PlacementTarget property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticGetShowOnDisabled(DependencyObject)

Gets the value of the ShowOnDisabled property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticGetVerticalOffset(DependencyObject)

Gets the value of the VerticalOffset property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticRemoveContextMenuClosingHandler(DependencyObject, ContextMenuEventHandler)

Removes a handler for the ContextMenuClosing attached event.

System_CAPS_pubmethodSystem_CAPS_staticRemoveContextMenuOpeningHandler(DependencyObject, ContextMenuEventHandler)

Removes a handler for the ContextMenuOpening attached event.

System_CAPS_pubmethodSystem_CAPS_staticSetContextMenu(DependencyObject, ContextMenu)

Sets the value of the ContextMenu property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticSetHasDropShadow(DependencyObject, Boolean)

Sets a value that indicates whether the ContextMenu has a drop shadow.

System_CAPS_pubmethodSystem_CAPS_staticSetHorizontalOffset(DependencyObject, Double)

Sets the value of the HorizontalOffset property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticSetIsEnabled(DependencyObject, Boolean)

Sets the value of the IsEnabled property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticSetPlacement(DependencyObject, PlacementMode)

Sets the value of the Placement property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticSetPlacementRectangle(DependencyObject, Rect)

Sets the value of the PlacementRectangle property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticSetPlacementTarget(DependencyObject, UIElement)

Sets the value of the PlacementTarget property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticSetShowOnDisabled(DependencyObject, Boolean)

Sets the value of the ShowOnDisabled property of the specified object.

System_CAPS_pubmethodSystem_CAPS_staticSetVerticalOffset(DependencyObject, Double)

Sets the value of the VerticalOffset property of the specified object.

Return to top
Show:
© 2016 Microsoft