GraphicIndicator
Base class for needle, marker, bar, and state indicators.
Definition
Namespace:Telerik.Windows.Controls.Gauge
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class GraphicIndicator : Control
Inheritance: objectGraphicIndicator
Derived Classes:
Constructors
public GraphicIndicator()
Fields
OffPositionProperty
DependencyProperty
Identifies the OffPosition dependency property.
public static readonly DependencyProperty OffPositionProperty
RefreshModeProperty
DependencyProperty
Identifies the RefreshMode dependency property.
public static readonly DependencyProperty RefreshModeProperty
RefreshRateProperty
DependencyProperty
Identifies the RefreshRate dependency property.
public static readonly DependencyProperty RefreshRateProperty
SnapIntervalProperty
DependencyProperty
Identifies the SnapInterval dependency property.
public static readonly DependencyProperty SnapIntervalProperty
SnapTypeProperty
DependencyProperty
Identifies the SnapType dependency property.
public static readonly DependencyProperty SnapTypeProperty
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
UseRangeColorProperty
DependencyProperty
Identifies the UseRangeColor dependency property.
public static readonly DependencyProperty UseRangeColorProperty
ValueChangedEvent
RoutedEvent
Identifies the ValueChanged routed event.
public static readonly RoutedEvent ValueChangedEvent
ValueProperty
DependencyProperty
Identifies the Value dependency property.
public static readonly DependencyProperty ValueProperty
ValueSourceProperty
DependencyProperty
Identifies the ValueSource dependency property.
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.
public IndicatorData Data { get; }
Gets or sets value which indicates whether internal animation is started for this indicator.
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.
public double OffPosition { get; set; }
Gets index of the current playback frame.
public int PlaybackFrame { get; }
Gets or sets refresh mode of the indicator.
public IndicatorRefreshMode RefreshMode { get; set; }
Gets or sets refresh rate of the indicator.
public TimeSpan RefreshRate { get; set; }
This property serve internal needs of the RadGauge control.
public IndicatorRefreshTimer RefreshTimer { get; set; }
Gets or sets refresh timer for indicator refresh rate feature.
Gets or sets snap interval for the indicator.
public double SnapInterval { get; set; }
Gets or sets format of the indicator's 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 indicator.
public Style ToolTipStyle { get; set; }
ToolTipTemplate
DataTemplate
Gets or sets template of the indicator's tooltip.
public DataTemplate ToolTipTemplate { get; set; }
Gets or sets value which indicates whether the indicator will use range color as its background.
public bool UseRangeColor { get; set; }
Gets the value mappings that constitute the data mappings for a indicator.
public IndicatorValueMappingCollection ValueMappings { get; }
Gets or sets value source for the playback feature.
public IEnumerable ValueSource { get; set; }
Methods
Move to the next value in the value source.
public bool MoveNext()
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.
public bool MovePrevious()
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.
public override void OnApplyTemplate()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Move before the first value in the value source.
public void Reset()
Resets the theme.
public virtual void ResetTheme()
Playback content of the History or ValueSource.
public void StartPlayback()
Playback content of the History or ValueSource.
public void StartPlayback(PropertyChangedEventHandler frameChanged)
Event handler for "FrameChanged" event on playback worker.
Stop playback content of the History or ValueSource.
public void StopPlayback()
Events
Occurs when the indicator's value is changed.
public event RoutedPropertyChangedEventHandler<double> ValueChanged