Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RelativeTransform Property
Collapse the table of content
Expand the table of content

Brush.RelativeTransform Property

Gets or sets the transformation that is applied to the brush using relative coordinates.

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

public Transform RelativeTransform { get; set; }

Property Value

Type: System.Windows.Media.Transform
The transformation that is applied to the brush using relative coordinates. The default value is the Identity transformation.

Identifier field

RelativeTransformProperty

Metadata properties set to true

None

This property is especially useful when you want to rotate, scale, skew, or otherwise transform a brush about its center, but you don't know the size of the area painted with the brush, or you are using the same brush to paint different areas with different sizes.

For detailed information about this property, see the Brush Transformation Overview.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft