Class
IndicatorData

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

Definition

Namespace:Telerik.Windows.Controls.Gauge

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class IndicatorData : DependencyObject, INotifyPropertyChanged

Inheritance: objectIndicatorData

Implements: INotifyPropertyChanged

Constructors

IndicatorData(GraphicIndicator)

Initializes a new instance of the IndicatorData class.

Declaration

cs-api-definition
public IndicatorData(GraphicIndicator indicator)

Parameters

indicator

GraphicIndicator

Indicator to bind properties to.

Fields

NameProperty

Identifies the Name dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NameProperty

Field Value

DependencyProperty

OffPositionProperty

Identifies the OffPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OffPositionProperty

Field Value

DependencyProperty

RefreshModeProperty

Identifies the RefreshMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RefreshModeProperty

Field Value

DependencyProperty

RefreshRateProperty

Identifies the RefreshRate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RefreshRateProperty

Field Value

DependencyProperty

SnapIntervalProperty

Identifies the SnapInterval dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SnapIntervalProperty

Field Value

DependencyProperty

SnapTypeProperty

Identifies the SnapType dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SnapTypeProperty

Field Value

DependencyProperty

UseRangeColorProperty

Identifies the UseRangeColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty UseRangeColorProperty

Field Value

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

cs-api-definition
public DependencyObject Data { get; }

Property Value

DependencyObject

Name

Gets or sets Name of the indicator.

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

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

cs-api-definition
public double OffPosition { get; set; }

Property Value

double

RefreshMode

Gets or sets refresh mode of the indicator.

Declaration

cs-api-definition
public IndicatorRefreshMode RefreshMode { get; set; }

Property Value

IndicatorRefreshMode

RefreshRate

Gets or sets refresh rate of the indicator.

Declaration

cs-api-definition
public TimeSpan RefreshRate { get; set; }

Property Value

TimeSpan

SnapInterval

Gets or sets snap interval for the indicator.

Declaration

cs-api-definition
public double SnapInterval { get; set; }

Property Value

double

SnapType

Gets or sets snap type for the indicator.

Declaration

cs-api-definition
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

cs-api-definition
public bool UseRangeColor { get; set; }

Property Value

bool

this[string]

Gets value from object using format string.

Declaration

cs-api-definition
public object this[string formatString] { get; }

Parameters

formatString

string

Format string.

Property Value

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.

Methods

RaiseDataPropertyChanged()

Raise property changed event for "Data" property.

Declaration

cs-api-definition
public void RaiseDataPropertyChanged()

Events

PropertyChanged

Occurs when property changed. Implemented for binding.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged