Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.22 KB

webviewpermissionrequest.md

File metadata and controls

23 lines (16 loc) · 1.22 KB
-api-id -api-type
T:Windows.UI.Xaml.Controls.WebViewPermissionRequest
winrt class

Windows.UI.Xaml.Controls.WebViewPermissionRequest

-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