Skip to main content
All docs
V24.2

AsyncDownloadPolicy.Downloaded Event

Fires once the download has completed.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v24.2.dll

Declaration

public static event AsyncDownloadPolicy.WeakEventHandler<AsyncDownloadPolicy.DownloadedEventArgs> Downloaded

Event Data

The Downloaded event's data class is AsyncDownloadPolicy.DownloadedEventArgs. The following properties provide information specific to this event:

Property Description
Result Gets the downloaded resource (object).
Uri Gets the identifier of the downloaded resource.
ValueType Gets a value that identifies the group of controls to which an individual control (that initiated the download) belongs. Inherited from AsyncDownloadPolicy.AsyncDownloaderEventArgs.

Remarks

static void Main() {
    // ...
    DevExpress.Data.AsyncDownloadPolicy.Downloading += AsyncDownloadPolicy_Downloading;
    Application.Run(new Form1());
}

private static void AsyncDownloadPolicy_Downloaded(object sender, DevExpress.Data.AsyncDownloadPolicy.DownloadedEventArgs e) {
    // Log.WriteMessage("Data from " + e.Uri.AbsoluteUri + " was downloaded");
}

Read the following topic for detailed information and examples: Suppress Control Requests to Download Data from External URLs.

See Also