Share via


WebView Class

Definition

Controls whether JavaScript alerts are enabled for a web view.

public ref class WebView abstract sealed
public static class WebView
type WebView = class
Public Module WebView
Inheritance
WebView

Fields

ExecutionModeProperty

Bindable property for attached property ExecutionMode.

IsJavaScriptAlertEnabledProperty

Bindable property for IsJavaScriptAlertEnabled(IPlatformElementConfiguration<Windows,WebView>).

Methods

GetExecutionMode(BindableObject)
GetExecutionMode(IPlatformElementConfiguration<Windows,WebView>)
GetIsJavaScriptAlertEnabled(BindableObject)

Returns a Boolean value that tells whether the web view allows JavaScript alerts.

IsJavaScriptAlertEnabled(IPlatformElementConfiguration<Windows,WebView>)

Returns a Boolean value that tells whether the web view allows JavaScript alerts.

SetExecutionMode(BindableObject, WebViewExecutionMode)
SetExecutionMode(IPlatformElementConfiguration<Windows,WebView>, WebViewExecutionMode)
SetIsJavaScriptAlertEnabled(BindableObject, Boolean)

Sets a Boolean value that tells whether the web view allows JavaScript alerts.

SetIsJavaScriptAlertEnabled(IPlatformElementConfiguration<Windows,WebView>, Boolean)

Sets a Boolean value that tells whether the web view allows JavaScript alerts.

Applies to