Partager via


CoreWebView2DownloadStartingEventArgs Class

Definition

Event args for the DownloadStarting event.

public class CoreWebView2DownloadStartingEventArgs : EventArgs
type CoreWebView2DownloadStartingEventArgs = class
    inherit EventArgs
Public Class CoreWebView2DownloadStartingEventArgs
Inherits EventArgs
Inheritance
CoreWebView2DownloadStartingEventArgs

Properties

Cancel

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.

DownloadOperation

Returns the CoreWebView2DownloadOperation for the download that has started.

Handled

Indicates whether to hide the default download dialog.

ResultFilePath

The path to the file.

Methods

GetDeferral()

Gets a Deferral object. Use this to Complete the event at a later time.

Applies to