Class HSBGradientMapping
Represents a connection between the resources provided to style the RadChart and the different visual elements.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public abstract class HSBGradientMapping : BuildStyleMapping, IStyleMapping
Constructors
HSBGradientMapping()
Initializes a new instance of the HSBGradientMapping class.
Declaration
protected HSBGradientMapping()
Properties
GradientStops
Gets or sets the gradient stops.
Declaration
public HSBGradientStopCollection GradientStops { get; }
Property Value
HSBGradientStopCollection
The gradient stops. |
MappingMode
Gets or sets the mapping mode.
Declaration
public BrushMappingMode MappingMode { get; set; }
Property Value
System.Windows.Media.BrushMappingMode
The mapping mode. |
Opacity
Gets or sets the brush opacity.
Declaration
public double Opacity { get; set; }
Property Value
System.Double
The mapping mode. |
SourceKey
Gets or sets the source key.
Declaration
public string SourceKey { get; set; }
Property Value
System.String
The source key. |
SpreadMethod
Gets or sets the spread method.
Declaration
public GradientSpreadMethod SpreadMethod { get; set; }
Property Value
System.Windows.Media.GradientSpreadMethod
The spread method. |
Methods
Build(Object, IKeyIndexValueProvider, Int32, Boolean)
Builds the required resource.
Declaration
public override object Build(object baseData, IKeyIndexValueProvider resources, int index, bool keepTheme)
Parameters
System.Object
baseData
The base data. |
IKeyIndexValueProvider
resources
The resources. |
System.Int32
index
The index. |
System.Boolean
keepTheme
Should the style build match the theme. |
Returns
System.Object
|