MediaElement::Stretch Property
.NET Framework (current version)
Gets or sets a Stretch value that describes how a MediaElement fills the destination rectangle.
Assembly: PresentationFramework (in PresentationFramework.dll)
The following illustration demonstrates the different Stretch values.

Different gradient spread methods
Identifier field | |
Metadata properties set to true |
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: