Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

How to: Use Transforms on a MediaElement

This example shows how to use a RotateTransform on a MediaElement.

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>
<MediaElement Source="media/numbers-aud.wmv">
  <MediaElement.LayoutTransform>
    <TransformGroup>
      <RotateTransform Angle="305" />
    </TransformGroup>
  </MediaElement.LayoutTransform>
</MediaElement>
Show:
© 2014 Microsoft