Class
RadLinearGauge

Represents a Gauge that arranges its ticks, labels and indicators in a circle.

Definition

Namespace:Telerik.UI.Xaml.Controls.DataVisualization

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadLinearGauge : RadGauge

Inheritance: objectRadControlRadGaugeRadLinearGauge

Inherited Members RadGauge.MinValuePropertyRadGauge.MaxValuePropertyRadGauge.TickTemplatePropertyRadGauge.MiddleTickTemplatePropertyRadGauge.MajorTickTemplatePropertyRadGauge.LabelTemplatePropertyRadGauge.TickStepPropertyRadGauge.LabelStepPropertyRadGauge.MiddleTickStepPropertyRadGauge.MajorTickStepPropertyRadGauge.IndicatorsZIndexPropertyRadGauge.ApplyTemplateCore()RadGauge.UnapplyTemplateCore()RadGauge.IndicatorsRadGauge.MinValueRadGauge.MaxValueRadGauge.TickStepRadGauge.LabelStepRadGauge.MiddleTickStepRadGauge.MajorTickStepRadGauge.TickTemplateRadGauge.MiddleTickTemplateRadGauge.MajorTickTemplateRadGauge.LabelTemplateRadGauge.IndicatorsZIndexRadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.MeasureOverride(Size)RadControl.ArrangeOverride(Size)RadControl.OnApplyTemplate()RadControl.OnIsEnabledChanged(bool, bool)RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

RadLinearGauge()

Initializes a new instance of the RadLinearGauge class.

Declaration

cs-api-definition
public RadLinearGauge()

Fields

IndicatorOffsetProperty

Identifies the IndicatorOffset property.

Declaration

cs-api-definition
public static readonly DependencyProperty IndicatorOffsetProperty

Field Value

DependencyProperty

LabelOffsetProperty

Identifies the LabelOffset property.

Declaration

cs-api-definition
public static readonly DependencyProperty LabelOffsetProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

LabelOffset

Gets or sets an offset that is used to nudge the labels to the right or left (top/bottom if Orientation is horizontal) of the ticks.

Declaration

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

Property Value

double

Remarks

Setting LabelOffset to 0 in horizontal mode will move the labels to the top edge of the range. Setting it to 2 on the other hand will move them to the bottom. In essence this is a factor by which the position of the labels will be multiplied by.

Methods

GetIndicatorOffset(DependencyObject)

Gets the IndicatorOffset of the provided indicator.

Declaration

cs-api-definition
public static double GetIndicatorOffset(DependencyObject indicator)

Parameters

indicator

DependencyObject

The indicator from which the offset will be obtained.

Returns

double

Returns the offset the provided indicator.

GetOrientation(DependencyObject)

Gets the Orientation value for the provided indicator.

Declaration

cs-api-definition
public static Orientation GetOrientation(DependencyObject indicator)

Parameters

indicator

DependencyObject

Returns

Orientation

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides RadGauge.OnCreateAutomationPeer()

OnTemplateApplied()

Occurs when the method has been called and the template is already successfully applied.

Declaration

cs-api-definition
protected override void OnTemplateApplied()

Overrides RadGauge.OnTemplateApplied()

SetIndicatorOffset(DependencyObject, double)

Sets the IndicatorOffset attached property to the provided indicator.

Declaration

cs-api-definition
public static void SetIndicatorOffset(DependencyObject indicator, double value)

Parameters

indicator

DependencyObject

The indicator for which to set the offset.

value

double

The offset of the indicator.

Remarks

Setting IndicatorOffset to 0 in horizontal mode will move the indicators to the top edge of the range. Setting it to 2 on the other hand will move them to the bottom. In essence this is a factor by which the position of the indicators will be multiplied by.

SetOrientation(DependencyObject, Orientation)

Sets the specified Orientation value to the provided indicator.

Declaration

cs-api-definition
public static void SetOrientation(DependencyObject indicator, Orientation value)

Parameters

indicator

DependencyObject

value

Orientation