interface ICoreWebView2ExperimentalContextMenuRequestedEventHandler
Note
This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.
Note
This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.
interface ICoreWebView2ExperimentalContextMenuRequestedEventHandler
: public IUnknown
Receives ContextMenuRequested events.
Summary
| Members | Descriptions |
|---|---|
| Invoke | Called to provide the event args when a context menu is requested on a WebView element. |
Applies to
| Product | Introduced |
|---|---|
| WebView2 Win32 | N/A |
| WebView2 Win32 Prerelease | 1.0.1010 |
Members
Invoke
Called to provide the event args when a context menu is requested on a WebView element.
public HRESULT Invoke(ICoreWebView2 * sender, ICoreWebView2ExperimentalContextMenuRequestedEventArgs * args)