ClassRadLinearGauge
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:
public class RadLinearGauge : RadGauge
Inheritance: objectRadControlRadGaugeRadLinearGauge
Inherited Members
Constructors
RadLinearGauge()
Initializes a new instance of the RadLinearGauge class.
Declaration
public RadLinearGauge()
Fields
IndicatorOffsetProperty
Identifies the IndicatorOffset property.
Declaration
public static readonly DependencyProperty IndicatorOffsetProperty
Field Value
DependencyProperty
LabelOffsetProperty
Identifies the LabelOffset property.
Declaration
public static readonly DependencyProperty LabelOffsetProperty
Field Value
DependencyProperty
OrientationProperty
Identifies the Orientation property.
Declaration
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
public double LabelOffset { get; set; }
Property Value
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
public static double GetIndicatorOffset(DependencyObject indicator)
Parameters
indicator
DependencyObject
The indicator from which the offset will be obtained.
Returns
Returns the offset the provided indicator.
GetOrientation(DependencyObject)
Gets the Orientation value for the provided indicator.
Declaration
public static Orientation GetOrientation(DependencyObject indicator)
Parameters
indicator
DependencyObject
Returns
Orientation
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
OnTemplateApplied()
Occurs when the method has been called and the template is already successfully applied.
Declaration
protected override void OnTemplateApplied()
Overrides
SetIndicatorOffset(DependencyObject, double)
Sets the IndicatorOffset attached property to the provided indicator.
Declaration
public static void SetIndicatorOffset(DependencyObject indicator, double value)
Parameters
indicator
DependencyObject
The indicator for which to set the offset.
value
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
public static void SetOrientation(DependencyObject indicator, Orientation value)
Parameters
indicator
DependencyObject
value
Orientation