共用方式為


CoreWebView2DownloadStartingEventArgs.Handled Property

Definition

Indicates whether to hide the default download dialog.

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

Property Value

Remarks

If set to true, the default download dialog is hidden for this download. The download progresses normally if it is not canceled, there will just be no default UI shown. By default the value is false and the default download dialog is shown.

Applies to