--- title: "How to: Use Transforms on a MediaElement" ms.date: "03/30/2017" helpviewer_keywords: - "Transforms [WPF], using on MediaElements" - "multimedia [WPF], using Transforms on MediaElements" - "MediaElements [WPF], using Transforms on" ms.assetid: d89c95e3-27c5-4748-8a27-72e432674032 --- # How to: Use Transforms on a MediaElement This example shows how to use a on a . ## Example In the following markup, the is rotated using a . [!code-xaml[MediaElement_snippet#MediaElementRotateTransform](~/samples/snippets/csharp/VS_Snippets_Wpf/MediaElement_snippet/CSharp/TransformExample.xaml#mediaelementrotatetransform)]