Export (0) Print
Expand All
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Expand Minimize

MappingMode (LinearGradientBrush)

Silverlight

Gets or sets a value that specifies whether the LinearGradientBrush positioning coordinates are absolute or relative to the output area.

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

Type: BrushMappingMode

A value of the enumeration that specifies how the LinearGradientBrush positioning coordinates are interpreted.

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

A value of Absolute indicates that the LinearGradientBrush coordinates are expressed in pixels.

The MappingMode of a LinearGradientBrush or RadialGradientBrush does not influence how the Offset values are interpreted. Regardless of mapping mode, the offset is always interpreted as a factor between 0 and 1 along the vector that defines the gradient.

Community Additions

ADD
Show:
© 2015 Microsoft