Class
GaugeIndicator

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:

cs-api-definition
public abstract class GaugeIndicator : RadControl

Inheritance: objectRadControlGaugeIndicator

Derived Classes: BarGaugeIndicatorMarkerGaugeIndicatorSegmentedGaugeIndicator

Inherited Members RadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.ArrangeOverride(Size)RadControl.OnApplyTemplate()RadControl.UnapplyTemplateCore()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnTemplateApplied()RadControl.ApplyTemplateCore()RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

GaugeIndicator()

Initializes a new instance of the GaugeIndicator class.

Declaration

cs-api-definition
protected GaugeIndicator()

Fields

AnimationDurationProperty

Identifies the AnimationDuration dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AnimationDurationProperty

Field Value

DependencyProperty

AnimationEasingProperty

Identifies the AnimationEasing dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AnimationEasingProperty

Field Value

DependencyProperty

IsAnimatedProperty

Identifies the IsAnimated dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsAnimatedProperty

Field Value

DependencyProperty

StartValueProperty

Identifies the StartValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StartValueProperty

Field Value

DependencyProperty

ValueProperty

Identifies the Value dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValueProperty

Field Value

DependencyProperty

Properties

AnimationDuration

Gets or sets the duration of the animation when IsAnimated is true.

Declaration

cs-api-definition
public Duration AnimationDuration { get; set; }

Property Value

Duration

AnimationEasing

Gets or sets the easing of the animation when IsAnimated is true.

Declaration

cs-api-definition
public EasingFunctionBase AnimationEasing { get; set; }

Property Value

EasingFunctionBase

IsAnimated

Gets or sets a value indicating whether animated transition between values is enabled.

Declaration

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

Property Value

bool

Owner

Gets the owner range of this indicator.

Declaration

cs-api-definition
public GaugePanel Owner { get; }

Property Value

GaugePanel

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.

Declaration

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

Property Value

double

Value

Gets or sets the value of this indicator.

Declaration

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

Property Value

double

Methods

MeasureOverride(Size)

Called in the measure layout pass to determine the desired size.

Declaration

cs-api-definition
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 RadControl.MeasureOverride(Size)

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides RadControl.OnCreateAutomationPeer()

Events

ValueChanged

This event fires after the Value property changes. The event arguments contain the new as well as the old value.

Declaration

cs-api-definition
public event EventHandler<IndicatorValueChangedEventArgs> ValueChanged

Event Value

EventHandler<IndicatorValueChangedEventArgs>