IBrowserInjectCssHandler Property | 
Namespace: DotNetBrowser.Browser
IHandler<InjectCssParameters, InjectCssResponse> InjectCssHandler { get; set; }
| Exception | Condition | 
|---|---|
| ObjectDisposedException | The IBrowser has already been disposed. | 
Use the Inject(String) method to inject a custom stylesheet into the document.
Use the Proceed method to continue loading without injecting.
If an exception occurs inside the handler implementation, the default behavior will be applied - the method Proceed will be used.
Important: the engine will be blocked until you return control from the callback.