Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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>

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.