共用方式為


CoreWebView2PermissionRequestedEventArgs.Handled Property

Definition

The host may set this flag to TRUE to prevent the PermissionRequested event from firing on the CoreWebView2 as well. By default, both the PermissionRequested on the CoreWebView2Frame and CoreWebView2 will be fired.

public bool Handled { get; set; }
member this.Handled : bool with get, set
Public Property Handled As Boolean

Property Value

Applies to