Appendix E. MediaElement Control
This appendix summarizes the MediaElement
control's most useful properties, methods, and events.
Note that many of these properties shown in Table E-1 through E-3 are read-only.
Table E.1. Key Properties of Media
Property | Purpose |
---|---|
| Determines the speaker balance. |
| Returns the percentage of buffering complete. |
| Returns |
| Returns the percentage of download complete. |
| Returns |
| Returns |
| Returns |
| Returns |
| Determines what the control does when it is loaded. This can be |
| Returns the media's natural duration. This can be a |
| Returns the video's height. |
| Returns the video's width. |
| Determines the playback position. |
| Determines whether the control updates itself when a seek is performed while the control is paused. |
| The media's source |
| Determines the speed ratio. Use a value less than 1 for slow motion or a value greater than 1 for fast ... |
Get WPF Programmer's Reference: Windows Presentation Foundation with C# 2010 and .NET 4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.