DownloadProgressChanged Event (MediaElement)
Occurs when the DownloadProgress property has changed.
<object DownloadProgressChanged="eventhandlerFunction" .../>
[token = ]object.AddEventListener("DownloadProgressChanged", eventhandlerFunction)
A token that is returned from the function, which you can optionally retain as a variable. If you intend to call RemoveEventListener to remove the handler, you will need this token.
The name of your event handler function as it is defined in script. When used as an AddEventListener parameter, quotes around the function name are not required. See Remarks.
Event Handler Parameters
Identifies the object that invoked the event.
This parameter is always set to null.
You can also add handlers in script using a quoted string for the event handler name:
This syntax also returns a token; however, the token is not an absolute requirement for removing the handler, in cases where the handler was added by using a quoted string. For details, see RemoveEventListener.
This event occurs for progressive downloads, typically occuring more than once.