Share via


WpfBrowser.FileDownload Event

Fires to indicate that a file download is about to occur.

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim instance As WpfBrowser
Dim handler As EventHandler(Of FileDownloadEventArgs)

AddHandler instance.FileDownload, handler

Syntax

'Declaration
<CategoryAttribute("DWebBrowserEvents2")> _
<DescriptionAttribute("Fires to indicate that a file download is about to occur. If a file download dialog box can be displayed, this event fires prior to the appearance of the dialog box.")> _
<BrowsableAttribute(True)> _
Public Event FileDownload As EventHandler(Of FileDownloadEventArgs)
[CategoryAttribute("DWebBrowserEvents2")] 
[DescriptionAttribute("Fires to indicate that a file download is about to occur. If a file download dialog box can be displayed, this event fires prior to the appearance of the dialog box.")] 
[BrowsableAttribute(true)] 
public event EventHandler<FileDownloadEventArgs> FileDownload
[CategoryAttribute(L"DWebBrowserEvents2")] 
[DescriptionAttribute(L"Fires to indicate that a file download is about to occur. If a file download dialog box can be displayed, this event fires prior to the appearance of the dialog box.")] 
[BrowsableAttribute(true)] 
public:
event EventHandler<FileDownloadEventArgs^>^ FileDownload {
    void add (EventHandler<FileDownloadEventArgs^>^ value);
    void remove (EventHandler<FileDownloadEventArgs^>^ value);
}
/** @event */
public void add_FileDownload (EventHandler<FileDownloadEventArgs> value)

/** @event */
public void remove_FileDownload (EventHandler<FileDownloadEventArgs> value)

Remarks

If a file download dialog box can be displayed, this event fires prior to the appearance of the dialog box.

Platforms

See Also

Reference

WpfBrowser Class
WpfBrowser Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.