Class
RadGauge

Base class for RadLinearGauge and RadRadialGauge.

Definition

Namespace:Telerik.UI.Xaml.Controls.DataVisualization

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public abstract class RadGauge : RadControl

Inheritance: objectRadControlRadGauge

Derived Classes: RadLinearGaugeRadRadialGauge

Inherited Members RadControl.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

RadGauge()

Initializes a new instance of the RadGauge class.

Declaration

cs-api-definition
protected RadGauge()

Fields

IndicatorsZIndexProperty

Identifies the IndicatorsZIndex property.

Declaration

cs-api-definition
public static readonly DependencyProperty IndicatorsZIndexProperty

Field Value

DependencyProperty

LabelStepProperty

Identifies the LabelStep property.

Declaration

cs-api-definition
public static readonly DependencyProperty LabelStepProperty

Field Value

DependencyProperty

LabelTemplateProperty

Identifies the LabelTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty LabelTemplateProperty

Field Value

DependencyProperty

MajorTickStepProperty

Identifies the MajorTickStep property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorTickStepProperty

Field Value

DependencyProperty

MajorTickTemplateProperty

Identifies the MajorTickTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorTickTemplateProperty

Field Value

DependencyProperty

MaxValueProperty

Identifies the MinValue property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaxValueProperty

Field Value

DependencyProperty

MiddleTickStepProperty

Identifies the MiddleTickStep property.

Declaration

cs-api-definition
public static readonly DependencyProperty MiddleTickStepProperty

Field Value

DependencyProperty

MiddleTickTemplateProperty

Identifies the MiddleTickTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty MiddleTickTemplateProperty

Field Value

DependencyProperty

MinValueProperty

Identifies the MinValue property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinValueProperty

Field Value

DependencyProperty

TickStepProperty

Identifies the TickStep property.

Declaration

cs-api-definition
public static readonly DependencyProperty TickStepProperty

Field Value

DependencyProperty

TickTemplateProperty

Identifies the TickTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty TickTemplateProperty

Field Value

DependencyProperty

Properties

Indicators

Gets a collection that holds the indicators in this range.

Declaration

cs-api-definition
public GaugeIndicatorCollection Indicators { get; }

Property Value

GaugeIndicatorCollection

IndicatorsZIndex

Gets or sets the z-index for the gauge indicators that belong to this instance.

Declaration

cs-api-definition
public int IndicatorsZIndex { get; set; }

Property Value

int

The default value is -1 (i.e. indicators are rendered below ticks and labels).

LabelStep

Gets or sets the label step.

Declaration

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

Property Value

double

Remarks

This step used to determine how the range labels will be spread over the value range.

LabelTemplate

Gets or sets the template that will represent the labels.

Declaration

cs-api-definition
public DataTemplate LabelTemplate { get; set; }

Property Value

DataTemplate

MajorTickStep

Gets or sets a step that is used to determine which ticks will be major ticks.

Declaration

cs-api-definition
public int MajorTickStep { get; set; }

Property Value

int

Remarks

This step is used on top of the number of created ticks, not the value range. Major ticks will use the major tick template.

MajorTickTemplate

Gets or sets the template for the major ticks.

Declaration

cs-api-definition
public DataTemplate MajorTickTemplate { get; set; }

Property Value

DataTemplate

Remarks

If this is null, the minor template will be used instead.

MaxValue

Gets or sets the maximum value that this range represent.

Declaration

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

Property Value

double

Remarks

The indicators can not point to a value that is larger than MaxValue.

MiddleTickStep

Gets or sets a step that is used to determine which ticks will be middle ticks.

Declaration

cs-api-definition
public int MiddleTickStep { get; set; }

Property Value

int

Remarks

This step is used on top of the number of created ticks, not the value range. Middle ticks will use the middle tick template.

MiddleTickTemplate

Gets or sets the template for the middle ticks.

Declaration

cs-api-definition
public DataTemplate MiddleTickTemplate { get; set; }

Property Value

DataTemplate

Remarks

If this is null, the minor template will be used instead.

MinValue

Gets or sets the minimum value that this range can represent.

Declaration

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

Property Value

double

Remarks

The indicators can not point to a value that is less than MinValue.

TickStep

Gets or sets the tick step.

Declaration

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

Property Value

double

Remarks

The tick step is used to determine how the range ticks are spread over the value range. In other words, it determines how many ticks will be created.

TickTemplate

Gets or sets the template for the minor ticks.

Declaration

cs-api-definition
public DataTemplate TickTemplate { get; set; }

Property Value

DataTemplate

Methods

ApplyTemplateCore()

Resolves the control's template parts.

Declaration

cs-api-definition
protected override bool ApplyTemplateCore()

Returns

bool

Overrides RadControl.ApplyTemplateCore()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides RadControl.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 RadControl.OnTemplateApplied()

UnapplyTemplateCore()

Removes the current control template. Occurs when a template has already been applied and a new one is applied.

Declaration

cs-api-definition
protected override void UnapplyTemplateCore()

Overrides RadControl.UnapplyTemplateCore()