Class
PropertyColorizationStrategy

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public class PropertyColorizationStrategy : IColorizationStrategy, IMapLegendInfoProvider

Inheritance: objectPropertyColorizationStrategy

Implements: IColorizationStrategyIMapLegendInfoProvider

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

IColorizationValueProvider

The value provider.

Methods

ColorizeElement(MapGeometry)

Colorizes the element.

Declaration

cs-api-definition
public void ColorizeElement(MapGeometry colorizable)

Parameters

colorizable

MapGeometry

The colorizable.

Implements IColorizationStrategy.ColorizeElement(MapGeometry)

GetColorizerColor(object)

Gets the color for the give value.

Declaration

cs-api-definition
protected virtual Color GetColorizerColor(object value)

Parameters

value

object

The value.

Returns

Color

Color.

GetLegendInfo(MapLegendElement)

Gets the information needed by the RadMap legend.

Declaration

cs-api-definition
public virtual List<MapLegendInfoItem> GetLegendInfo(MapLegendElement mapElement)

Parameters

mapElement

MapLegendElement

The map element.

Returns

List<MapLegendInfoItem>

List<MapLegendInfoItem>.

Implements IMapLegendInfoProvider.GetLegendInfo(MapLegendElement)