Matrix Property

Gets or sets the Matrix that defines this transformation.

XAML
<object>
  <object.Matrix>
    <Matrix .../>
  </object.Matrix>
</object>
Scripting
value = object.Matrix
object.Matrix = value

XAML Values

Matrix Exactly one Matrix object element.

Property Value

Matrix

The Matrix object that defines this transformation. The default value 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.

This property is read/write. The default value is Identity Matrix.

Remarks

The Matrix class is for custom transformations. Often it is easier to use the specific transformations RotateTransform, ScaleTransform, SkewTransform, or TranslateTransform.

Applies To

MatrixTransform

See Also

Silverlight Transforms Overview