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

Represents a ColorMapping, which contains a set of GradientStops. The ValueGradientColorizer calculated the brush according to its value and gradient stops.

Definition

Constructors

Initializes a new instance of the ValueGradientColorizer class.

C#
public ValueGradientColorizer()

Fields

GradientStopsProperty

DependencyProperty

Identifies the GradientStops dependency property.

C#
public static readonly DependencyProperty GradientStopsProperty

Properties

GradientStops

GradientStopCollection

Gets or sets the gradient stops.

C#
public GradientStopCollection GradientStops { get; set; }
Property Value:

The gradient stops.

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)