Dela via


WebViewControlSettings Class

Definition

Defines properties that enable or disable IWebViewControl features.

public ref class WebViewControlSettings sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebViewControlSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebViewControlSettings
Public NotInheritable Class WebViewControlSettings
Inheritance
Object Platform::Object IInspectable WebViewControlSettings
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

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

Properties

IsIndexedDBEnabled

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

IsJavaScriptEnabled

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

IsScriptNotifyAllowed

Gets or sets whether ScriptNotify is allowed.

Applies to