Property CreatePopupHandler
- Namespace
- DotNetBrowser.Browser
- Assembly
- DotNetBrowser.dll
CreatePopupHandler
Gets or sets a handler that is used when the browser decides whether a new popup instance can be created or not.
IHandler<CreatePopupParameters, CreatePopupResponse> CreatePopupHandler { get; set; }
Property Value
Remarks
Use the Create() method to let the browser to create a new popup.
Use the Suppress() method to suppress popup.
If an exception occurs inside the handler implementation, the default behavior will be applied - the method Suppress() will be used.
Important: the engine will be blocked until you return control from the callback.
Exceptions
- ObjectDisposedException
The IBrowser has already been disposed.