This documentation is archived and is not being maintained.

BrushMappingMode Enumeration

Specifies the coordinate system used by a Brush.

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

public enum class BrushMappingMode
<object property="enumerationMemberName" .../>

Member nameDescription
AbsoluteThe coordinate system is not relative to a bounding box. Values are interpreted directly in local space.
RelativeToBoundingBoxThe 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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0