How to: Use Transforms on a MediaElement
This example shows how to use a RotateTransform on a MediaElement.
Example
In the following markup, the MediaElement is rotated using a RotateTransform.
<MediaElement Source="media/numbers-aud.wmv">
<MediaElement.LayoutTransform>
<TransformGroup>
<RotateTransform Angle="305" />
</TransformGroup>
</MediaElement.LayoutTransform>
</MediaElement>
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET Desktop feedback