WebViewSettings WebViewSettings WebViewSettings WebViewSettings Class

Definition

Defines properties that enable or disable WebView features.

public : sealed class WebViewSettings : IWebViewSettings
struct winrt::Windows::UI::Xaml::Controls::WebViewSettings : IWebViewSettings
public sealed class WebViewSettings : IWebViewSettings
Public NotInheritable Class WebViewSettings Implements IWebViewSettings
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

To get an instance of this class, use the WebView.Settings property.

Properties

IsIndexedDBEnabled IsIndexedDBEnabled IsIndexedDBEnabled IsIndexedDBEnabled

Gets or sets a value that indicates whether the use of IndexedDB is allowed in the WebView.

IsJavaScriptEnabled IsJavaScriptEnabled IsJavaScriptEnabled IsJavaScriptEnabled

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

See also