ClassGaugeIndicator
This is the base class of the gauge indicators. It is abstract because more concrete types must implement the arrange logic. Every indicator knows how to arrange itself in its range container.
Definition
Namespace:Telerik.UI.Xaml.Controls.DataVisualization
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public abstract class GaugeIndicator : RadControl
Inheritance: objectRadControlGaugeIndicator
Derived Classes:
Inherited Members
Constructors
GaugeIndicator()
Initializes a new instance of the GaugeIndicator class.
Declaration
protected GaugeIndicator()
Fields
AnimationDurationProperty
Identifies the AnimationDuration dependency property.
Declaration
public static readonly DependencyProperty AnimationDurationProperty
Field Value
DependencyProperty
AnimationEasingProperty
Identifies the AnimationEasing dependency property.
Declaration
public static readonly DependencyProperty AnimationEasingProperty
Field Value
DependencyProperty
IsAnimatedProperty
Identifies the IsAnimated dependency property.
Declaration
public static readonly DependencyProperty IsAnimatedProperty
Field Value
DependencyProperty
StartValueProperty
Identifies the StartValue dependency property.
Declaration
public static readonly DependencyProperty StartValueProperty
Field Value
DependencyProperty
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
DependencyProperty
Properties
AnimationDuration
Gets or sets the duration of the animation when IsAnimated is true.
Declaration
public Duration AnimationDuration { get; set; }
Property Value
Duration
AnimationEasing
Gets or sets the easing of the animation when IsAnimated is true.
Declaration
public EasingFunctionBase AnimationEasing { get; set; }
Property Value
EasingFunctionBase
IsAnimated
Gets or sets a value indicating whether animated transition between values is enabled.
Owner
Gets the owner range of this indicator.
StartValue
Gets or sets a value that determines from where in the value range does the indicator start. By default every indicator starts at 0. The Value and StartValue properties do the exact same thing in the MarkerGaugeIndicator since it is always on a single point in the range.
Methods
MeasureOverride(Size)
Called in the measure layout pass to determine the desired size.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
Size
The available size that was given by the layout system.
Returns
Size
Returns the desired size of the indicator.
Overrides
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
Events
ValueChanged
This event fires after the Value property changes. The event arguments contain the new as well as the old value.
Declaration
public event EventHandler<IndicatorValueChangedEventArgs> ValueChanged
Event Value