Property ShowContextMenuHandler
- Namespace
- DotNetBrowser.Browser
- Assembly
- DotNetBrowser.dll
ShowContextMenuHandler
Gets or sets a handler that is used when the browser should show a context menu.
IHandler<ShowContextMenuParameters, ShowContextMenuResponse> ShowContextMenuHandler { get; set; }
Property Value
Remarks
The passed ShowContextMenuParameters object contains information about the context menu to show.
Use the Close() method to close the context menu without choice.
Use the Select(ContextMenuItem) method to choose the context menu item.
If an exception occurs inside the handler implementation, the default behavior will be applied - the method Close() will be used.
Exceptions
- ObjectDisposedException
The IBrowser has already been disposed.