BrushMappingMode Enumeration
Collapse the table of content
Expand the table of content

BrushMappingMode Enumeration


Specifies the coordinate system used by a Brush.

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

public enum BrushMappingMode

Member nameDescription

The coordinate system is not relative to a bounding box. Values are interpreted directly in local space.


The coordinate system is relative to a bounding box: 0 indicates 0 percent of the bounding box, and 1 indicates 100 percent of the bounding box. For example, (0.5, 0.5) describes a point in the middle of the bounding box, and (1, 1) describes a point at the bottom right of the bounding box.

Note that the bounding box for the RelativeToBoundingBox value depends on the property with which this enumeration is used.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft