...
<MediaElement Grid.Row="0"
x:Name="videoPlayer"
Stretch="Fill"
DownloadProgressChanged="videoPlayer_DownloadProgressChanged"
>
</MediaElement>
<local:PlayDownloadProgressControl x:Name="progressBar"
Height="4" Grid.Row="0"
VerticalAlignment="Bottom"/>
<StackPanel Grid.Row="1">
...
private void videoPlayer_DownloadProgressChanged(object sender,
RoutedEventArgs e)
{
progressBar.UpdateDownloadProgress(
100.0 * videoPlayer.DownloadProgress);
}