New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public sealed class DesaturationColorizer : ColorMapping

Inheritance: objectInheritanceContextPropagatorMappingBaseObjectMappingBaseValueMappingBaseColorMappingDesaturationColorizer...

Inherited Members ValueMappingBase.TargetPropertyNamePropertyValueMappingBase.TargetPropertyName

Constructors

Initializes a new instance of the DesaturationColorizer class.

C#
public DesaturationColorizer()

Fields

FromProperty

DependencyProperty

Identifies the From dependency property.

C#
public static readonly DependencyProperty FromProperty

Identifies the ParentSourceColorPropertyName dependency property.

C#
public static readonly DependencyProperty ParentSourceColorPropertyNameProperty

StartColorProperty

DependencyProperty

Identifies the StartColor dependency property.

C#
public static readonly DependencyProperty StartColorProperty

ToProperty

DependencyProperty

Identifies the To dependency property.

C#
public static readonly DependencyProperty ToProperty

Properties

Gets or sets from.

C#
public double From { get; set; }
Property Value:

From.

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

C#
public string ParentSourceColorPropertyName { get; set; }
Property Value:

The parent color source property.

Gets or sets the start color.

C#
public Color StartColor { get; set; }
Property Value:

The start color.

Gets or sets to.

C#
public double To { get; set; }
Property Value:

To.

Methods

Selects the brush.

C#
public Brush SelectBrush(double value)
Parameters:valuedoubleReturns:

Brush