MappingMode Property

Gets or sets value that specifies whether the gradient brush's positioning coordinates are absolute or relative to the output area.

XAML
<object MappingMode="BrushMappingMode" .../>
Scripting
value = object.MappingMode
object.MappingMode = value

Property Value

BrushMappingMode

A value of the BrushMappingMode enumeration that specifies how the gradient brush's positioning coordinates are interpreted.

This property is read/write. The default value is RelativeToBoundBox.

Remarks

A value of Absolute indicates the gradient brush's coordinates are expressed using device independent pixels.

Applies To

LinearGradientBrush, RadialGradientBrush

See Also

Silverlight Brushes Overview