Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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


Metadata properties set to true


Return to top
© 2017 Microsoft