Class StyleMapping
Represents a connection between the resources provided to style the RadChart and the different visual elements.
Inheritance
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class StyleMapping : Object, IStyleMapping
Constructors
StyleMapping()
StyleMapping(String, String)
Initializes a new instance of the StyleMapping class.
Declaration
public StyleMapping(string sourceKey, string property)
Parameters
System.String
sourceKey
The source key. |
System.String
property
The property. |
Properties
Property
Gets or sets the property.
Declaration
public string Property { get; set; }
Property Value
System.String
The property. |
Implements
SourceKey
Gets or sets the source key.
Declaration
public string SourceKey { get; set; }
Property Value
System.String
The source key. |
Methods
Build(Object, IKeyIndexValueProvider, Int32, Boolean)
Builds the required resource.
Declaration
public virtual 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
|