MatrixTransform.Matrix Property

Gets or sets the Matrix that defines this transformation.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

public Matrix Matrix { get; set; }

XAML Values


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.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions