共用方式為


DownloadProgress (ImageBrush)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a value that indicates the relative progress of downloaded content. This property is relevant only if the SetSource method is used to set the image source.

value = object.DownloadProgress

Property Value

Type: Double

A value between 0 and 1, inclusive, that represents the amount of total content that has been downloaded. Multiply by 100 to obtain a percentage.

This property is read-only. The default value is 0.

Managed Equivalent

None

Remarks

The DownloadProgressChanged event occurs when the DownloadProgress property value is increased by an amount of 0.05 or greater, or reaches 1.0.

Applies To

ImageBrush