Partilhar via


CoreWebView2DownloadStartingEventArgs.Cancel Property

Definition

Indicates whether to cancel the download. If canceled, the download save dialog is not displayed regardless of the @CoreWebView2DownloadStartingEventArgs.Handled value and the state is changed to @CoreWebView2DownloadState$.Interrupted with interrupt reason @CoreWebView2DownloadInterruptReason$.UserCanceled.

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

Property Value

Remarks

If canceled, the download save dialog is not displayed regardless of the Handled value and the state is changed to Interrupted with interrupt reason UserCanceled.

Applies to