WebViewPermissionState WebViewPermissionState WebViewPermissionState WebViewPermissionState Enum


Defines constants that specify the state of a WebView.PermissionRequested event.

public : enum class WebViewPermissionState
enum class winrt::Windows::UI::Xaml::Controls::WebViewPermissionState : int32_t
public enum WebViewPermissionState
Public Enum WebViewPermissionState

Windows 10 requirements

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


Allow Allow Allow Allow 2

WebViewPermissionRequest.Allow was called. The permission request is allowed.

Defer Defer Defer Defer 1

WebViewPermissionRequest.Defer was called. The permission request is deferred.

Deny Deny Deny Deny 3

WebViewPermissionRequest.Deny was called. The permission request is denied.

Unknown Unknown Unknown Unknown 0

The state of the permission request can't be determined.


This enumeration provides values for the WebViewPermissionRequest.State property.

See also