CoreWebView2DownloadStartingEventArgs.Cancel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.