Class PropertyColorizationStrategy
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class PropertyColorizationStrategy : IColorizationStrategy, IMapLegendInfoProvider
Constructors
PropertyColorizationStrategy()
Initializes a new instance of the PropertyColorizationStrategy class.
Declaration
public PropertyColorizationStrategy()
Properties
Colors
Gets or sets the colors.
Declaration
public List<Color> Colors { get; set; }
Property Value
System.Collections.Generic.List<System.Drawing.Color>
The colors. |
PropertyValues
Gets or sets the property values.
Declaration
public List<PropertyColorizerItem> PropertyValues { get; set; }
Property Value
System.Collections.Generic.List<PropertyColorizerItem>
The property values. |
ValueProvider
Gets or sets the value provider.
Declaration
public IColorizationValueProvider ValueProvider { get; set; }
Property Value
IColorizationValueProvider
The value provider. |
Methods
ColorizeElement(MapGeometry)
Colorizes the element.
Declaration
public void ColorizeElement(MapGeometry colorizable)
Parameters
MapGeometry
colorizable
The colorizable. |
Implements
GetColorizerColor(Object)
Gets the color for the give value.
Declaration
protected virtual Color GetColorizerColor(object value)
Parameters
System.Object
value
The value. |
Returns
System.Drawing.Color
Color. |
GetLegendInfo(MapLegendElement)
Gets the information needed by the RadMap legend.
Declaration
public virtual List<MapLegendInfoItem> GetLegendInfo(MapLegendElement mapElement)
Parameters
MapLegendElement
mapElement
The map element. |
Returns
System.Collections.Generic.List<MapLegendInfoItem>
List<MapLegendInfoItem>. |