MappingMode Property (LinearGradientBrush)

Gets or sets value that specifies whether the LinearGradientBrush 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 LinearGradientBrush positioning coordinates are interpreted.

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

Remarks

A value of Absolute indicates the LinearGradientBrush coordinates are expressed using device independent pixels.

Applies To

LinearGradientBrush

See Also

Silverlight Brushes Overview

Community Additions

Show: