Export (0) Print
Expand All
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Expand Minimize

Transform (Brush)

Silverlight

Gets or sets the transformation that is applied to the brush.

<object>
  <object.Transform>
    singleTransform
  </object.Transform>
</object>
value = object.Transform
object.Transform = value

Value

Description

singleTransform

Exactly one object element for an object that derives from Transform. This can be one of the following: RotateTransform, ScaleTransform, SkewTransform, TranslateTransform, MatrixTransform, TransformGroup. If you use a TransformGroup, you can apply multiple transforms by defining the child object elements of the TransformGroup. For more information, see the "XAML Values" section in the TransformGroup reference topic.

Type: Transform

The transformation to apply to the brush.

This property is read/write. The default value is null.

Use this property to rotate, scale, skew, or translate a brush's content. This transformation is applied after the brush's output has been mapped and positioned through evaluation of other brush properties such as AlignmentX, MappingMode, and Stretch.

Community Additions

ADD
Show:
© 2014 Microsoft