ContextMenu Attached Property

ContextMenuService.ContextMenu Attached Property

 

Gets or sets the content of a ContextMenu.

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

See GetContextMenu, SetContextMenu

Property Value

Type: System.Windows.Controls.ContextMenu

Returns the ContextMenu content; if there is no content the property returns null. The default is null.

Identifier field

ContextMenuProperty

Metadata properties set to true

None

Return to top
Show:
© 2016 Microsoft