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

Represents a ColorMapping, which contains a set of RangeBrush objects. The ValueBrushColorizer chooses the brush to be applied according to their From and To value.

Definition

Constructors

Initializes a new instance of the ValueBrushColorizer class.

C#
public ValueBrushColorizer()

Fields

BrushesProperty

DependencyProperty

Identifies the Brushes dependency property.

C#
public static readonly DependencyProperty BrushesProperty

DefaultBrushProperty

DependencyProperty

Identifies the DefaultBrush dependency property.

C#
public static readonly DependencyProperty DefaultBrushProperty

Properties

Gets or sets the brushes.

C#
public RangeBrushCollection Brushes { get; set; }
Property Value:

The brushes.

Gets or sets the default brush.

C#
public Brush DefaultBrush { get; set; }
Property Value:

The default brush.

Methods

Selects the brush in absolute values.

C#
protected override Brush SelectBrushInAbsoluteValues(double value)
Parameters:valuedouble

The value.

Returns:

Brush

Overrides: RangeColorizerBase.SelectBrushInAbsoluteValues(double)

Selects the brush in relative values.

C#
protected override Brush SelectBrushInRelativeValues(double value)
Parameters:valuedouble

The value.

Returns:

Brush

Overrides: RangeColorizerBase.SelectBrushInRelativeValues(double)