ClassGraphicIndicator
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
GraphicIndicator()
Declaration
public GraphicIndicator()
Fields
OffPositionProperty
Identifies the OffPosition dependency property.
Declaration
public static readonly DependencyProperty OffPositionProperty
Field Value
DependencyProperty
RefreshModeProperty
Identifies the RefreshMode dependency property.
Declaration
public static readonly DependencyProperty RefreshModeProperty
Field Value
DependencyProperty
RefreshRateProperty
Identifies the RefreshRate dependency property.
Declaration
public static readonly DependencyProperty RefreshRateProperty
Field Value
DependencyProperty
SnapIntervalProperty
Identifies the SnapInterval dependency property.
Declaration
public static readonly DependencyProperty SnapIntervalProperty
Field Value
DependencyProperty
SnapTypeProperty
Identifies the SnapType dependency property.
Declaration
public static readonly DependencyProperty SnapTypeProperty
Field Value
DependencyProperty
ToolTipStyleProperty
Identifies the ToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty ToolTipStyleProperty
Field Value
DependencyProperty
ToolTipTemplateProperty
Identifies the ToolTipTemplate dependency property.
Declaration
public static readonly DependencyProperty ToolTipTemplateProperty
Field Value
DependencyProperty
TooltipFormatProperty
Identifies the TooltipFormat dependency property.
Declaration
public static readonly DependencyProperty TooltipFormatProperty
Field Value
DependencyProperty
UseRangeColorProperty
Identifies the UseRangeColor dependency property.
Declaration
public static readonly DependencyProperty UseRangeColorProperty
Field Value
DependencyProperty
ValueChangedEvent
Identifies the ValueChanged routed event.
Declaration
public static readonly RoutedEvent ValueChangedEvent
Field Value
RoutedEvent
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
DependencyProperty
ValueSourceProperty
Identifies the ValueSource dependency property.
Declaration
public static readonly DependencyProperty ValueSourceProperty
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.
InternalAnimationStarted
Gets or sets value which indicates whether internal animation is started for this indicator.
Declaration
public bool InternalAnimationStarted { get; set; }
Property Value
OffPosition
Gets or sets “OFF” position of the indicator. This is location where indicator will be parked to when its value is double.NaN.
PlaybackFrame
Gets index of the current playback frame.
RefreshMode
Gets or sets refresh mode of the indicator.
Declaration
public IndicatorRefreshMode RefreshMode { get; set; }
Property Value
RefreshRate
Gets or sets refresh rate of the indicator.
RefreshTimer
This property serve internal needs of the RadGauge control.
Declaration
public IndicatorRefreshTimer RefreshTimer { get; set; }
Property Value
Remarks
Gets or sets refresh timer for indicator refresh rate feature.
SnapInterval
Gets or sets snap interval for the indicator.
SnapType
Gets or sets snap type for the indicator.
ToolTipStyle
Gets or sets the style applied to the toolTip of the indicator.
Declaration
public Style ToolTipStyle { get; set; }
Property Value
Style
ToolTipTemplate
Gets or sets template of the indicator's tooltip.
Declaration
public DataTemplate ToolTipTemplate { get; set; }
Property Value
DataTemplate
TooltipFormat
Gets or sets format of the indicator's tooltip.
Declaration
public string TooltipFormat { get; set; }
Property 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 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.
UseRangeColor
Gets or sets value which indicates whether the indicator will use range color as its background.
Value
Gets or sets value of the indicator.
Declaration
[SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")]
public double Value { get; set; }
Property Value
ValueMappings
Gets the value mappings that constitute the data mappings for a indicator.
Declaration
public IndicatorValueMappingCollection ValueMappings { get; }
Property Value
ValueSource
Gets or sets value source for the playback feature.
Declaration
public IEnumerable ValueSource { get; set; }
Property Value
Methods
MoveNext()
Move to the next value in the value source.
Declaration
public bool MoveNext()
Returns
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
MovePrevious()
Move to the previous value in the value source.
Declaration
public bool MovePrevious()
Returns
true if the enumerator was successfully advanced to the previous element; false if the enumerator has passed the begin of the collection.
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The type-specific AutomationPeer implementation.
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnValueChanged(double, double)
Called when indicator's value is changed.
Reset()
Move before the first value in the value source.
Declaration
public void Reset()
StartPlayback()
Playback content of the History or ValueSource.
Declaration
public void StartPlayback()
StartPlayback(PropertyChangedEventHandler)
Playback content of the History or ValueSource.
Declaration
public void StartPlayback(PropertyChangedEventHandler frameChanged)
Parameters
frameChanged
Event handler for "FrameChanged" event on playback worker.
StopPlayback()
Stop playback content of the History or ValueSource.
Declaration
public void StopPlayback()
Events
ValueChanged
Occurs when the indicator's value is changed.
Declaration
public event RoutedPropertyChangedEventHandler<double> ValueChanged
Event Value