WebView constructor
constructor · WebView · cAlgo.API
DesktopCLICloud
Initializes a new instance of the WebView class.
Environment behaviour
CLI — not supported. Accepted without error but never displayed, so control events such as Click are never raised.
Cloud — not supported. Accepted without error but never displayed, so control events such as Click are never raised.
Definition
public WebView()
WebView()
Examples
var webView = new WebView { Width = 400, Height = 300 };
webView.Loaded += args => webView.NavigateAsync("https://ctrader.com/");
Chart.AddControl(webView);
webView = WebView()
webView.Width = 400
webView.Height = 300
webView.Loaded += lambda args: webView.NavigateAsync("https://ctrader.com/")
api.Chart.AddControl(webView)