Share via


WebView Class

Definition

Controls whether JavaScript alerts are enabled for a web view.

public static class WebView
type WebView = class
Inheritance
System.Object
WebView

Fields

IsJavaScriptAlertEnabledProperty

Backing store for the attached property that controls whether the web view allows JavaScript alerts.

Methods

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.

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