System.Windows.Forms.HtmlDocument.ContextMenuShowing Event

Occurs when the user requests to display the document's context menu.

Syntax

public event HtmlElementEventHandler ContextMenuShowing

Remarks

By default, if you right-click your mouse on a document or an element in a document, it will display a default context menu particular to the element. Use this event to cancel the display of the context menu and display one of your own.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0