Windows.UI.Xaml.Controls.WebViewPermissionRequest

May 17, 2019 ยท View on GitHub

-description

Represents a request for permissions in a WebView.

-remarks

For more info, see the WebView.PermissionRequested event.

When you handle a permission request in a WebView, you get a WebViewPermissionRequest object as the value of the WebViewPermissionRequestedEventArgs.PermissionRequest property. You can call Allow to grant the request, Deny to deny the request, or Defer to defer the request until a later time. For example, you might defer the request if you need to prompt the user for consent.

-examples

-see-also

WebView.PermissionRequested, WebViewPermissionRequestedEventArgs.PermissionRequest