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