Share via


WebViewControlSettings.IsJavaScriptEnabled Property

Definition

Gets or sets a value that indicates whether the use of JavaScript is allowed.

public:
 property bool IsJavaScriptEnabled { bool get(); void set(bool value); };
bool IsJavaScriptEnabled();

void IsJavaScriptEnabled(bool value);
public bool IsJavaScriptEnabled { get; set; }
var boolean = webViewControlSettings.isJavaScriptEnabled;
webViewControlSettings.isJavaScriptEnabled = boolean;
Public Property IsJavaScriptEnabled As Boolean

Property Value

Boolean

bool

true if JavaScript is allowed in the IWebViewControl; otherwise, false. The default is true.

Applies to