Brush.Transform Property

Definition

Gets or sets the transformation that is applied to the brush. This transformation is applied after the brush's output has been mapped and positioned.

C#
public System.Windows.Media.Transform Transform { get; set; }

Property Value

The transformation to apply to the brush. The default value is the Identity transformation.

Remarks

Use this property to rotate, scale, skew, or translate a brush's content. For detailed information about this property, see the Brush Transformation Overview.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also