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.

ContextMenuEventHandler Delegate

 

Represents the method that will handle the FrameworkElement.ContextMenuOpening and ContextMenuClosing routed events, as well as equivalent ContentElement events.

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

type ContextMenuEventHandler = 
    delegate of 
        sender:Object *
        e:ContextMenuEventArgs -> unit

Parameters

sender
Type: System.Object

The object where the event handler is attached.

e
Type: System.Windows.Controls.ContextMenuEventArgs

The event data.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft