Click or drag to resize
CfxOnBeforeDownloadEventArgs Class

[This is preliminary documentation and is subject to change.]

Called before a download begins. |SuggestedName| is the suggested name for the download file. By default the download will be canceled. Execute |Callback| either asynchronously or in this function to continue the download if desired. Do not keep a reference to |DownloadItem| outside of this function.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ChromiumCfxEventArgs
      Chromium.EventCfxOnBeforeDownloadEventArgs

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxOnBeforeDownloadEventArgs : CfxEventArgs

The CfxOnBeforeDownloadEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyBrowser
Get the Browser parameter for the OnBeforeDownload callback.
Public propertyCallback
Get the Callback parameter for the OnBeforeDownload callback.
Public propertyDownloadItem
Get the DownloadItem parameter for the OnBeforeDownload callback.
Public propertySuggestedName
Get the SuggestedName parameter for the OnBeforeDownload callback.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_download_handler_capi.h.
See Also