Visual Basic (Declaration) | |
---|---|
Public Property Gradient As LinearGradientBrush |
C# | |
---|---|
public LinearGradientBrush Gradient {get; set;} |
Property Value
The gradient.If the System.Windows.Media.GradientBrush.MappingMode is set to Absolute, the offsets correspond to the number of elements in that cluster. If set to RelativeToBoundingBox, offsets should be specified from 0..1, and will be relative to the largest cluster at the current specific scale.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family