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

Base class for needle, marker, bar, and state indicators.

Definition

Namespace:Telerik.Windows.Controls.Gauge

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class GraphicIndicator : Control

Inheritance: objectGraphicIndicator

Derived Classes: InteractiveIndicatorNumericIndicatorStateIndicator

Constructors

C#
public GraphicIndicator()

Fields

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

TooltipFormatProperty

DependencyProperty

Identifies the TooltipFormat dependency property.

C#
public static readonly DependencyProperty TooltipFormatProperty

ToolTipStyleProperty

DependencyProperty

Identifies the ToolTipStyle dependency property.

C#
public static readonly DependencyProperty ToolTipStyleProperty

ToolTipTemplateProperty

DependencyProperty

Identifies the ToolTipTemplate dependency property.

C#
public static readonly DependencyProperty ToolTipTemplateProperty

UseRangeColorProperty

DependencyProperty

Identifies the UseRangeColor dependency property.

C#
public static readonly DependencyProperty UseRangeColorProperty

Identifies the ValueChanged routed event.

C#
public static readonly RoutedEvent ValueChangedEvent

ValueProperty

DependencyProperty

Identifies the Value dependency property.

C#
public static readonly DependencyProperty ValueProperty

ValueSourceProperty

DependencyProperty

Identifies the ValueSource dependency property.

C#
public static readonly DependencyProperty ValueSourceProperty

Properties

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

C#
public IndicatorData Data { get; }

Gets or sets value which indicates whether internal animation is started for this indicator.

C#
public bool InternalAnimationStarted { 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 index of the current playback frame.

C#
public int PlaybackFrame { get; }

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; }

This property serve internal needs of the RadGauge control.

C#
public IndicatorRefreshTimer RefreshTimer { get; set; }
Remarks:

Gets or sets refresh timer for indicator refresh rate feature.

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 or sets format of the indicator's tooltip.

C#
public string TooltipFormat { get; set; }
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.

Gets or sets the style applied to the toolTip of the indicator.

C#
public Style ToolTipStyle { get; set; }

ToolTipTemplate

DataTemplate

Gets or sets template of the indicator's tooltip.

C#
public DataTemplate ToolTipTemplate { get; set; }

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

C#
public bool UseRangeColor { get; set; }

Gets or sets value of the indicator.

C#
public double Value { get; set; }

Gets the value mappings that constitute the data mappings for a indicator.

C#
public IndicatorValueMappingCollection ValueMappings { get; }

Gets or sets value source for the playback feature.

C#
public IEnumerable ValueSource { get; set; }

Methods

Move to the next value in the value source.

C#
public bool MoveNext()
Returns:

bool

true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Move to the previous value in the value source.

C#
public bool MovePrevious()
Returns:

bool

true if the enumerator was successfully advanced to the previous element; false if the enumerator has passed the begin of the collection.

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.

C#
public override void OnApplyTemplate()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when indicator's value is changed.

C#
protected virtual void OnValueChanged(double oldValue, double newValue)
Parameters:oldValuedouble

Old value.

newValuedouble

New value.

Move before the first value in the value source.

C#
public void Reset()

Resets the theme.

C#
public virtual void ResetTheme()

Playback content of the History or ValueSource.

C#
public void StartPlayback()

Playback content of the History or ValueSource.

C#
public void StartPlayback(PropertyChangedEventHandler frameChanged)
Parameters:frameChangedPropertyChangedEventHandler

Event handler for "FrameChanged" event on playback worker.

Stop playback content of the History or ValueSource.

C#
public void StopPlayback()

Events

Occurs when the indicator's value is changed.

C#
public event RoutedPropertyChangedEventHandler<double> ValueChanged