--- title: "How to: Use a MatrixTransform to Create Custom Transforms" ms.date: "03/30/2017" helpviewer_keywords: - "graphics [WPF], custom Transforms" ms.assetid: 919381ca-989f-47cf-86b4-1094060236e4 --- # How to: Use a MatrixTransform to Create Custom Transforms This example shows how to use a to translate (move) the position, stretch, and skew of a . > [!NOTE] > Use the class to create custom transformations that are not provided by the , , , or classes. ## Example [!code-xaml[Transforms_snip#MatrixTransform](~/samples/snippets/csharp/VS_Snippets_Wpf/Transforms_snip/CS/MatrixTransformExample.xaml#matrixtransform)] ## See also - - - [Transforms Overview](transforms-overview.md) - [How-to Topics](transformations-how-to-topics.md) - [Shapes and Basic Drawing in WPF Overview](shapes-and-basic-drawing-in-wpf-overview.md)