Skip to content

WebViewLoadedEventArgs

class cAlgo.API

DesktopCLICloud

Provides data for the WebView control Loaded event.

Environment behaviour

CLI — not supported. Never raised in the CLI: the events that pass it never fire there (WebView.Loaded).

Cloud — not supported. Never raised in the cloud: the events that pass it never fire there (WebView.Loaded).

Definition

public class WebViewLoadedEventArgs

Namespace: cAlgo.API · Group: EventArgs

Examples

protected override void OnStart()
{
    var webView = new WebView();
    webView.Loaded += OnWebViewLoaded;
    Chart.AddControl(webView);
}

private void OnWebViewLoaded(WebViewLoadedEventArgs args)
{
    Print("Web view loaded: {0}", args.WebView.IsLoaded);
}
def on_start(self):
    webView = WebView()
    webView.Loaded += self.on_web_view_loaded
    api.Chart.AddControl(webView)

def on_web_view_loaded(self, args):
    api.Print(f"Web view loaded: {args.WebView.IsLoaded}")

Properties

Name Description
WebViewDesktopCLICloudWebView The WebView control.

See also