Class
DesaturationColorizer

This class represents a ColorMapping which defines the Brush for a RadTreeMapItem based on a color and a level of desaturation.

Definition

Namespace:Telerik.Windows.Controls.TreeMap

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public sealed class DesaturationColorizer : ColorMapping

Inheritance: objectInheritanceContextPropagatorMappingBaseObjectMappingBaseValueMappingBaseColorMappingDesaturationColorizer

Inherited Members ValueMappingBase.TargetPropertyNamePropertyValueMappingBase.TargetPropertyName

Constructors

DesaturationColorizer()

Initializes a new instance of the DesaturationColorizer class.

Declaration

cs-api-definition
public DesaturationColorizer()

Fields

FromProperty

Identifies the From dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FromProperty

Field Value

DependencyProperty

ParentSourceColorPropertyNameProperty

Identifies the ParentSourceColorPropertyName dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ParentSourceColorPropertyNameProperty

Field Value

DependencyProperty

StartColorProperty

Identifies the StartColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StartColorProperty

Field Value

DependencyProperty

ToProperty

Identifies the To dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ToProperty

Field Value

DependencyProperty

Properties

From

Gets or sets from.

Declaration

cs-api-definition
public double From { get; set; }

Property Value

double

From.

ParentSourceColorPropertyName

Gets or sets the property on the parent that specifies the StartColor.

Declaration

cs-api-definition
public string ParentSourceColorPropertyName { get; set; }

Property Value

string

The parent color source property.

StartColor

Gets or sets the start color.

Declaration

cs-api-definition
public Color StartColor { get; set; }

Property Value

Color

The start color.

To

Gets or sets to.

Declaration

cs-api-definition
public double To { get; set; }

Property Value

double

To.

Methods

SelectBrush(double)

Selects the brush.

Declaration

cs-api-definition
public Brush SelectBrush(double value)

Parameters

value

double

Returns

Brush