BrushMappingMode Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Specifies the coordinate system used by a Brush.

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

Syntax

'Declaration
Public Enumeration BrushMappingMode
public enum BrushMappingMode

Members

Member name Description
Supported by Silverlight for Windows Phone Absolute The coordinate system is not relative to a bounding box. Values are interpreted directly in local space.
Supported by Silverlight for Windows Phone RelativeToBoundingBox 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.

Remarks

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

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.