IBrowserShowContextMenuHandler Property |
Namespace: DotNetBrowser.Browser
IHandler<ShowContextMenuParameters, ShowContextMenuResponse> ShowContextMenuHandler { get; set; }
Exception | Condition |
---|---|
ObjectDisposedException | The IBrowser has already been disposed. |
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.