WebViewControlSettings.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.
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.