Intersoft ClientUI Documentation
DownloadProgress Event
See Also  Send Feedback
Intersoft.Client.Framework Namespace > Downloader Class : DownloadProgress Event






Occurs when the resource is being downloaded.

Syntax

Visual Basic (Declaration) 
Public Event DownloadProgress As EventHandler(Of DownloadProgressChangedEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As Downloader
Dim handler As EventHandler(Of DownloadProgressChangedEventArgs)
 
AddHandler instance.DownloadProgress, handler
C# 
public event EventHandler<DownloadProgressChangedEventArgs> DownloadProgress
Delphi 
public event DownloadProgress: EventHandler; 
JScript 
In JScript, you can handle the events defined by another class, but you cannot define your own.
Managed Extensions for C++ 
public: __event EventHandler<DownloadProgressChangedEventArgs*>* DownloadProgress
C++/CLI 
public:
event EventHandler<DownloadProgressChangedEventArgs^>^ DownloadProgress

Event Data

The event handler receives an argument of type DownloadProgressChangedEventArgs containing data related to this event. The following DownloadProgressChangedEventArgs properties provide information specific to this event.

PropertyDescription
BytesReceived Gets the number of bytes received.
ProgressPercentage (Inherited from System.ComponentModel.ProgressChangedEventArgs)Gets the asynchronous task progress percentage.
TotalBytesToReceive Gets the total number of bytes in a System.Net.WebClient data download operation.
UserState (Inherited from System.ComponentModel.ProgressChangedEventArgs)Gets a unique user state.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.