DownloadEventArgsHandled Property Awesomium.NET 1.7.6Awesomium.NET
Gets or sets if the event is handled by an application.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version:

public bool Handled { get; set; }

Property Value

Type: Boolean

Default Handling

The table below presents the way the Download event is handled, when Handled is set to false (default):
Wrapper Behavior
WebView No default handling is provided for the windowless WebView. If Handled is set to false (default), the event is immediately canceled.
Technology specific WebControls. If Handled is set to false (default), controls will display their predefined dialog that allows the user to select the file path to save the file to.

Application Handling

Applications can modally handle the Download by providing a response through the SelectedFile property, before the event handler exits.
Note Note
Note that Cancel always takes precedence over Handled. If Cancel is set to true, the request will be canceled immediately and the value of Handled (or of any other member), is ignored.
See Also