ClassGaugeRange
Represents value range along the scale. It is data object which suppose to be data context for the visual range representation.
Definition
Namespace:Telerik.Windows.Controls.Gauge
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class GaugeRange : RangeEventSource, INotifyPropertyChanged
Inheritance: objectRangeEventSourceGaugeRange
Implements:
Inherited Members
Constructors
GaugeRange()
Initializes a new instance of the GaugeRange class.
Declaration
public GaugeRange()
Fields
BackgroundProperty
Identifies the Background dependency property.
Declaration
public static readonly DependencyProperty BackgroundProperty
Field Value
DependencyProperty
EndWidthProperty
Identifies the EndWidth dependency property.
Declaration
public static readonly DependencyProperty EndWidthProperty
Field Value
DependencyProperty
GeometryProperty
Identifies the Geometry dependency property.
Declaration
public static readonly DependencyProperty GeometryProperty
Field Value
DependencyProperty
IndicatorBackgroundProperty
Identifies the IndicatorBackground dependency property.
Declaration
public static readonly DependencyProperty IndicatorBackgroundProperty
Field Value
DependencyProperty
IndicatorColorMixSensitivityProperty
Identifies the IndicatorColorMixSensitivity dependency property.
Declaration
public static readonly DependencyProperty IndicatorColorMixSensitivityProperty
Field Value
DependencyProperty
LabelForegroundProperty
Identifies the LabelForeground dependency property.
Declaration
public static readonly DependencyProperty LabelForegroundProperty
Field Value
DependencyProperty
MaxProperty
Identifies the Max dependency property.
Declaration
public static readonly DependencyProperty MaxProperty
Field Value
DependencyProperty
MinProperty
Identifies the Min dependency property.
Declaration
public static readonly DependencyProperty MinProperty
Field Value
DependencyProperty
StartWidthProperty
Identifies the StartWidth dependency property.
Declaration
public static readonly DependencyProperty StartWidthProperty
Field Value
DependencyProperty
StrokeProperty
Identifies the Stroke dependency property.
Declaration
public static readonly DependencyProperty StrokeProperty
Field Value
DependencyProperty
StrokeThicknessProperty
Identifies the StrokeThickness dependency property.
Declaration
public static readonly DependencyProperty StrokeThicknessProperty
Field Value
DependencyProperty
TickBackgroundProperty
Identifies the TickBackground dependency property.
Declaration
public static readonly DependencyProperty TickBackgroundProperty
Field Value
DependencyProperty
TimeoutProperty
Identifies the Timeout dependency property.
Declaration
public static readonly DependencyProperty TimeoutProperty
Field Value
DependencyProperty
TitleProperty
Identifies the Title dependency property.
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
DependencyProperty
ToolTipStyleProperty
Identifies the ToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty ToolTipStyleProperty
Field Value
DependencyProperty
ToolTipTemplateProperty
Identifies the ToolTipTemplate dependency property.
Declaration
public static readonly DependencyProperty ToolTipTemplateProperty
Field Value
DependencyProperty
TooltipFormatProperty
Identifies the TooltipFormat dependency property.
Declaration
public static readonly DependencyProperty TooltipFormatProperty
Field Value
DependencyProperty
VisibilityProperty
Identifies the Visibility dependency property.
Declaration
public static readonly DependencyProperty VisibilityProperty
Field Value
DependencyProperty
Properties
Background
Gets or sets the background of the range's visual presentation.
Declaration
public Brush Background { get; set; }
Property Value
Brush
Data
Return reference to self. This property can be used within Binding in XAML to implement binding which reflect extended property changes.
Declaration
public DependencyObject Data { get; }
Property Value
DependencyObject
EndWidth
Gets or sets the end width of the range bar.
Geometry
This property serve internal RadGauge operations. It shouldn't be used in the customer code.
Declaration
public Geometry Geometry { get; set; }
Property Value
Geometry
Remarks
Gets or sets range geometry.
IndicatorBackground
Gets or sets background of the indicator when it is in range.
Declaration
public Brush IndicatorBackground { get; set; }
Property Value
Brush
IndicatorColorMixSensitivity
Gets or sets value which indicates the activity of color from previous range that is used to build indicator background.
Declaration
public double IndicatorColorMixSensitivity { get; set; }
Property Value
LabelForeground
Gets or sets the foreground of labels are in range.
Declaration
public Brush LabelForeground { get; set; }
Property Value
Brush
Max
Gets or sets the maximum value of the range.
Min
Gets or sets the minimum value of the range.
StartWidth
Gets or sets the start width of the range bar.
Stroke
Gets or sets the Brush that specifies how the range outline is painted.
Declaration
public Brush Stroke { get; set; }
Property Value
Brush
StrokeThickness
Gets or sets stroke thickness.
TickBackground
Gets or sets background of ticks are in range.
Declaration
public Brush TickBackground { get; set; }
Property Value
Brush
Timeout
Gets or sets timeout during which value should be in range to fire "In Range Timeout" event.
Title
Gets or sets title of the range which can be used in the tooltip. Can be accessed as {Binding Path=Data[Range.Title]}.
ToolTipStyle
Gets or sets the style applied to the toolTip of the range.
Declaration
public Style ToolTipStyle { get; set; }
Property Value
Style
ToolTipTemplate
Gets or sets template of the range's tooltip.
Declaration
public DataTemplate ToolTipTemplate { get; set; }
Property Value
DataTemplate
TooltipFormat
Gets or sets the format of the range tooltip.
Declaration
public string TooltipFormat { get; set; }
Property Value
Remarks
The format string can use properties of the scale objects. For example "{Value|F2} Range: Min={Range.Min|F2} Max={Range.Max|F2}". This format string uses value of the indicator and Min and Max properties of the gauge range this indicator is pointing to. Currently you can use Range and Scale objects in the format string. The '|' character is used to separate property name and its output format.
Visibility
Gets or sets visibility of the gauge range.
Declaration
public Visibility Visibility { get; set; }
Property Value
Visibility
this[string]
Gets value from object using format string.
Declaration
public object this[string formatString] { get; }
Parameters
formatString
Format string.
Property Value
Formatted value.
Remarks
The format string can use properties of the scale objects. For example "{Value|F2} Range: Min={Range.Min|F2} Max={Range.Max|F2}". This format string uses value of the indicator and Min and Max properties of the gauge range this indicator is pointing to. Currently you can use Range and Scale objects in the format string. The '|' character is used to separate property name and its output format.
Methods
InRange(DependencyObject)
Check whether given object is in range.
Declaration
public bool InRange(DependencyObject valueObject)
Parameters
valueObject
DependencyObject
Dependency object which have attachable ScaleObject.Value property set or indicator.
Returns
true if indicator's or object's value is in range.
RaiseDataPropertyChanged()
Raise property changed event for "Data" property.
Declaration
public void RaiseDataPropertyChanged()
ValueInRange(double)
Check whether given double value is in range.
Events
PropertyChanged
Occurs when property changed. Implemented for binding.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements