Windows apps
Collapse the table of content
Expand the table of content
Information
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

ContextMenuProperty

Metadata properties set to true

None

Return to top
Show:
© 2017 Microsoft