Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.18 KB

webviewcontrolpermissionrequest.md

File metadata and controls

23 lines (15 loc) · 1.18 KB
-api-id -api-type
T:Windows.Web.UI.WebViewControlPermissionRequest
winrt class

Windows.Web.UI.WebViewControlPermissionRequest

-description

Represents a request for permissions in a WebView.

-remarks

For more info, see the IWebViewControl.PermissionRequested event.

When you handle a permission request in an IWebViewControl, you get a WebViewControlPermissionRequest 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.

-see-also

-examples