Files
docs-desktop/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-use-a-matrixtransform-to-create-custom-transforms.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

1.2 KiB

title, ms.date, helpviewer_keywords, ms.assetid
title ms.date helpviewer_keywords ms.assetid
How to: Use a MatrixTransform to Create Custom Transforms 03/30/2017
graphics [WPF], custom Transforms
919381ca-989f-47cf-86b4-1094060236e4

How to: Use a MatrixTransform to Create Custom Transforms

This example shows how to use a xref:System.Windows.Media.MatrixTransform to translate (move) the position, stretch, and skew of a xref:System.Windows.Controls.Button.

Note

Use the xref:System.Windows.Media.MatrixTransform class to create custom transformations that are not provided by the xref:System.Windows.Media.RotateTransform, xref:System.Windows.Media.SkewTransform, xref:System.Windows.Media.ScaleTransform, or xref:System.Windows.Media.TranslateTransform classes.

Example

[!code-xamlTransforms_snip#MatrixTransform]

See also