ClassGaugeValueToBrushConverter
Class
This converter can be used to fill visual elements in the ticks and labels with a color that depends on the value of the tick or label.
Definition
Namespace:Telerik.UI.Xaml.Controls.DataVisualization
Assembly:Telerik.WinUI.Controls.dll
Syntax:
cs-api-definition
public class GaugeValueToBrushConverter : IValueConverter
Inheritance: objectGaugeValueToBrushConverter
Implements:
Constructors
GaugeValueToBrushConverter()
Initializes a new instance of the GaugeValueToBrushConverter class.
Declaration
cs-api-definition
public GaugeValueToBrushConverter()
Properties
DefaultColor
Gets or sets the default color of the converter.
Declaration
cs-api-definition
public Color DefaultColor { get; set; }
Property Value
Color
Remarks
If a value is passed that is not in the ranges list the default color will be returned.
Ranges
Gets a list of GaugeColorToValueRanges.
Declaration
cs-api-definition
public Collection<GaugeColorValueRange> Ranges { get; }
Property Value
Methods
Convert(object, Type, object, string)
Converts the value to its corresponding color.