Class IndicatorData
Indicator's data which can be used as tooltip content.
Inheritance
Namespace: Telerik.Windows.Controls.Gauge
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class IndicatorData : DependencyObject, IScaleObjectWithTooltip, INotifyPropertyChanged
Constructors
IndicatorData(GraphicIndicator)
Initializes a new instance of the IndicatorData class.
Declaration
public IndicatorData(GraphicIndicator indicator)
Parameters
GraphicIndicator
indicator
Indicator to bind properties to. |
Fields
NameProperty
Identifies the Name dependency property.
Declaration
public static readonly DependencyProperty NameProperty
Field Value
System.Windows.DependencyProperty
|
OffPositionProperty
Identifies the OffPosition dependency property.
Declaration
public static readonly DependencyProperty OffPositionProperty
Field Value
System.Windows.DependencyProperty
|
RefreshModeProperty
Identifies the RefreshMode dependency property.
Declaration
public static readonly DependencyProperty RefreshModeProperty
Field Value
System.Windows.DependencyProperty
|
RefreshRateProperty
Identifies the RefreshRate dependency property.
Declaration
public static readonly DependencyProperty RefreshRateProperty
Field Value
System.Windows.DependencyProperty
|
SnapIntervalProperty
Identifies the SnapInterval dependency property.
Declaration
public static readonly DependencyProperty SnapIntervalProperty
Field Value
System.Windows.DependencyProperty
|
SnapTypeProperty
Identifies the SnapType dependency property.
Declaration
public static readonly DependencyProperty SnapTypeProperty
Field Value
System.Windows.DependencyProperty
|
UseRangeColorProperty
Identifies the UseRangeColor dependency property.
Declaration
public static readonly DependencyProperty UseRangeColorProperty
Field Value
System.Windows.DependencyProperty
|
Properties
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
System.Windows.DependencyObject
|
Item[String]
Gets value from object using format string.
Declaration
public object this[string formatString] { get; }
Parameters
System.String
formatString
Format string. |
Property Value
System.Object
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 scale object and Min and Max properties of the gauge range this object belongs 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.
Name
Gets or sets Name of the indicator.
Declaration
public string Name { get; set; }
Property Value
System.String
|
OffPosition
Gets or sets “OFF” position of the indicator. This is location where indicator will be parked to when its value is double.NaN.
Declaration
public double OffPosition { get; set; }
Property Value
System.Double
|
RefreshMode
Gets or sets refresh mode of the indicator.
Declaration
public IndicatorRefreshMode RefreshMode { get; set; }
Property Value
IndicatorRefreshMode
|
RefreshRate
Gets or sets refresh rate of the indicator.
Declaration
public TimeSpan RefreshRate { get; set; }
Property Value
System.TimeSpan
|
SnapInterval
Gets or sets snap interval for the indicator.
Declaration
public double SnapInterval { get; set; }
Property Value
System.Double
|
SnapType
Gets or sets snap type for the indicator.
Declaration
public SnapType SnapType { get; set; }
Property Value
SnapType
|
UseRangeColor
Gets or sets value which indicates whether the indicator will use range color as its background.
Declaration
public bool UseRangeColor { get; set; }
Property Value
System.Boolean
|
Methods
RaiseDataPropertyChanged()
Raise property changed event for "Data" property.
Declaration
public void RaiseDataPropertyChanged()
Events
PropertyChanged
Occurs when property changed. Implemented for binding.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|