MatrixTransform.Matrix Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the Matrix that defines this transformation.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<MatrixTransform> <MatrixTransform.Matrix> singleMatrix </MatrixTransform.Matrix> </MatrixTransform>
XAML Values
Property Value
Type: System.Windows.Media.MatrixThe Matrix structure that defines this transformation. The default is an identity Matrix. An identity matrix has a value of 1 in coefficients [1,1], [2,2], and [3,3]; and a value of 0 in the rest of the coefficients.
Dependency property identifier field: MatrixProperty
The Matrix class is for custom transformations. Often it is easier to use the specific transformations RotateTransform, ScaleTransform, SkewTransform, or TranslateTransform.
Show: