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

Indicator's data which can be used as tooltip content.

Definition

Namespace:Telerik.Windows.Controls.Gauge

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class IndicatorData : DependencyObject, INotifyPropertyChanged

Inheritance: objectIndicatorData

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the IndicatorData class.

C#
public IndicatorData(GraphicIndicator indicator)
Parameters:indicatorGraphicIndicator

Indicator to bind properties to.

Fields

NameProperty

DependencyProperty

Identifies the Name dependency property.

C#
public static readonly DependencyProperty NameProperty

OffPositionProperty

DependencyProperty

Identifies the OffPosition dependency property.

C#
public static readonly DependencyProperty OffPositionProperty

RefreshModeProperty

DependencyProperty

Identifies the RefreshMode dependency property.

C#
public static readonly DependencyProperty RefreshModeProperty

RefreshRateProperty

DependencyProperty

Identifies the RefreshRate dependency property.

C#
public static readonly DependencyProperty RefreshRateProperty

SnapIntervalProperty

DependencyProperty

Identifies the SnapInterval dependency property.

C#
public static readonly DependencyProperty SnapIntervalProperty

SnapTypeProperty

DependencyProperty

Identifies the SnapType dependency property.

C#
public static readonly DependencyProperty SnapTypeProperty

UseRangeColorProperty

DependencyProperty

Identifies the UseRangeColor dependency property.

C#
public static readonly DependencyProperty UseRangeColorProperty

Properties

Data

DependencyObject

Return reference to self. This property can be used within Binding in XAML to implement binding which reflect extended property changes.

C#
public DependencyObject Data { get; }

Gets or sets Name of the indicator.

C#
public string Name { get; set; }

Gets or sets “OFF” position of the indicator. This is location where indicator will be parked to when its value is double.NaN.

C#
public double OffPosition { get; set; }

Gets or sets refresh mode of the indicator.

C#
public IndicatorRefreshMode RefreshMode { get; set; }

Gets or sets refresh rate of the indicator.

C#
public TimeSpan RefreshRate { get; set; }

Gets or sets snap interval for the indicator.

C#
public double SnapInterval { get; set; }

Gets or sets snap type for the indicator.

C#
public SnapType SnapType { get; set; }

Gets value from object using format string.

C#
public object this[string formatString] { get; }
Parameters:formatStringstring

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 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.

Gets or sets value which indicates whether the indicator will use range color as its background.

C#
public bool UseRangeColor { get; set; }

Methods

Raise property changed event for "Data" property.

C#
public void RaiseDataPropertyChanged()

Events

Occurs when property changed. Implemented for binding.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged