GaugeRange
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
Initializes a new instance of the GaugeRange class.
public GaugeRange()
Fields
BackgroundProperty
DependencyProperty
Identifies the Background dependency property.
public static readonly DependencyProperty BackgroundProperty
EndWidthProperty
DependencyProperty
Identifies the EndWidth dependency property.
public static readonly DependencyProperty EndWidthProperty
GeometryProperty
DependencyProperty
Identifies the Geometry dependency property.
public static readonly DependencyProperty GeometryProperty
IndicatorBackgroundProperty
DependencyProperty
Identifies the IndicatorBackground dependency property.
public static readonly DependencyProperty IndicatorBackgroundProperty
IndicatorColorMixSensitivityProperty
DependencyProperty
Identifies the IndicatorColorMixSensitivity dependency property.
public static readonly DependencyProperty IndicatorColorMixSensitivityProperty
LabelForegroundProperty
DependencyProperty
Identifies the LabelForeground dependency property.
public static readonly DependencyProperty LabelForegroundProperty
MaxProperty
DependencyProperty
Identifies the Max dependency property.
public static readonly DependencyProperty MaxProperty
MinProperty
DependencyProperty
Identifies the Min dependency property.
public static readonly DependencyProperty MinProperty
StartWidthProperty
DependencyProperty
Identifies the StartWidth dependency property.
public static readonly DependencyProperty StartWidthProperty
StrokeProperty
DependencyProperty
Identifies the Stroke dependency property.
public static readonly DependencyProperty StrokeProperty
StrokeThicknessProperty
DependencyProperty
Identifies the StrokeThickness dependency property.
public static readonly DependencyProperty StrokeThicknessProperty
TickBackgroundProperty
DependencyProperty
Identifies the TickBackground dependency property.
public static readonly DependencyProperty TickBackgroundProperty
TimeoutProperty
DependencyProperty
Identifies the Timeout dependency property.
public static readonly DependencyProperty TimeoutProperty
TitleProperty
DependencyProperty
Identifies the Title dependency property.
public static readonly DependencyProperty TitleProperty
TooltipFormatProperty
DependencyProperty
Identifies the TooltipFormat dependency property.
public static readonly DependencyProperty TooltipFormatProperty
ToolTipStyleProperty
DependencyProperty
Identifies the ToolTipStyle dependency property.
public static readonly DependencyProperty ToolTipStyleProperty
ToolTipTemplateProperty
DependencyProperty
Identifies the ToolTipTemplate dependency property.
public static readonly DependencyProperty ToolTipTemplateProperty
VisibilityProperty
DependencyProperty
Identifies the Visibility dependency property.
public static readonly DependencyProperty VisibilityProperty
Properties
Background
Brush
Gets or sets the background of the range's visual presentation.
public Brush Background { get; set; }
Data
DependencyObject
Return reference to self. This property can be used within Binding in XAML to implement binding which reflect extended property changes.
public DependencyObject Data { get; }
Geometry
Geometry
This property serve internal RadGauge operations. It shouldn't be used in the customer code.
public Geometry Geometry { get; set; }
Gets or sets range geometry.
IndicatorBackground
Brush
Gets or sets background of the indicator when it is in range.
public Brush IndicatorBackground { get; set; }
Gets or sets value which indicates the activity of color from previous range that is used to build indicator background.
public double IndicatorColorMixSensitivity { get; set; }
LabelForeground
Brush
Gets or sets the foreground of labels are in range.
public Brush LabelForeground { get; set; }
Gets or sets the start width of the range bar.
public double StartWidth { get; set; }
Stroke
Brush
Gets or sets the Brush that specifies how the range outline is painted.
public Brush Stroke { get; set; }
Gets or sets stroke thickness.
public double StrokeThickness { get; set; }
Gets value from object using format string.
public object this[string formatString] { get; }
Format string.
Property Value:Formatted value.
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.
TickBackground
Brush
Gets or sets background of ticks are in range.
public Brush TickBackground { get; set; }
Gets or sets timeout during which value should be in range to fire "In Range Timeout" event.
public TimeSpan Timeout { get; set; }
Gets or sets title of the range which can be used in the tooltip. Can be accessed as {Binding Path=Data[Range.Title]}.
public string Title { get; set; }
Gets or sets the format of the range tooltip.
public string TooltipFormat { get; set; }
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.
ToolTipStyle
Style
Gets or sets the style applied to the toolTip of the range.
public Style ToolTipStyle { get; set; }
ToolTipTemplate
DataTemplate
Gets or sets template of the range's tooltip.
public DataTemplate ToolTipTemplate { get; set; }
Visibility
Visibility
Gets or sets visibility of the gauge range.
public Visibility Visibility { get; set; }
Methods
Check whether given object is in range.
public bool InRange(DependencyObject valueObject)
Dependency object which have attachable ScaleObject.Value property set or indicator.
Returns:true if indicator's or object's value is in range.
Raise property changed event for "Data" property.
public void RaiseDataPropertyChanged()
Events
Occurs when property changed. Implemented for binding.
public event PropertyChangedEventHandler PropertyChanged
Implements: