IWebViewShowPopupMenu EventAwesomium.NET 1.7.6Awesomium.NET
Occurs when the page requests to display a drop-down (popup) menu. This is usually the result of a user clicking on a select HTML input element.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version:

event ShowPopupMenuEventHandler ShowPopupMenu


Type: Awesomium.CoreShowPopupMenuEventHandler

By default, technology specific WebControls provide their own drop-down (popup) menus. If you wish to prevent the control from displaying its own menu and handle the event yourself, set Handled to true and then use any of the following methods to respond to the view: These members are not directly available through the predefined IWebView wrappers. You will have to cast the wrapper to IWebView, to access these members.

Optionally, you can easily cancel or select an item by using: Cancel or Select(Int32).

Note Note
The windowless WebView, does not provide any internal implementation for drop-down (popup) menus. If you are using a WebView instance with your UI application, you will have to handle the ShowPopupMenu event yourself. Technology specific Awesomium.NET assemblies, provide predefined drop-down (popup) menu controls that you can use with your WPF or Windows Forms application.
Note Note
Note that Cancel always takes precedence over Handled. If Cancel is set to true, the request will be canceled immediately and the value of Handled (or any other member), is ignored.
See Also