WebViewUnloadedEventArgs
class cAlgo.API
DesktopCLICloud
Provides data for the WebView control Unloaded event.
Environment behaviour
CLI — not supported. Never raised in the CLI: the events that pass it never fire there (WebView.Unloaded).
Cloud — not supported. Never raised in the cloud: the events that pass it never fire there (WebView.Unloaded).
Definition
public class WebViewUnloadedEventArgs
Namespace: cAlgo.API · Group: EventArgs
Examples
protected override void OnStart()
{
var webView = new WebView();
webView.Unloaded += OnWebViewUnloaded;
Chart.AddControl(webView);
}
private void OnWebViewUnloaded(WebViewUnloadedEventArgs args)
{
Print("Web view unloaded, is loaded: {0}", args.WebView.IsLoaded);
}
def on_start(self):
webView = WebView()
webView.Unloaded += self.on_web_view_unloaded
api.Chart.AddControl(webView)
def on_web_view_unloaded(self, args):
api.Print(f"Web view unloaded, is loaded: {args.WebView.IsLoaded}")
Properties
| Name | Description |
|---|---|
WebViewDesktopCLICloudWebView | The WebView control. |