WebViewSettings.IsJavaScriptEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property bool IsJavaScriptEnabled { bool get(); void set(bool value); };
bool IsJavaScriptEnabled();
void IsJavaScriptEnabled(bool value);
public bool IsJavaScriptEnabled { get; set; }
var boolean = webViewSettings.isJavaScriptEnabled;
webViewSettings.isJavaScriptEnabled = boolean;
Public Property IsJavaScriptEnabled As Boolean
Property Value
Boolean
bool
true if JavaScript is allowed in the WebView; otherwise, false. The default is true.