Matrix Property
Collapse the table of content
Expand the table of content

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.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

'Declaration
Public Property Matrix As Matrix
<MatrixTransform>
  <MatrixTransform.Matrix>
    singleMatrix
  </MatrixTransform.Matrix>
</MatrixTransform>

XAML Values

singleMatrix

Exactly one Matrix object element.

Property Value

Type: System.Windows.Media.Matrix
The 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft