New to Telerik UI for WPFStart a free 30-day trial

Represents numeric indicator.

Definition

Constructors

Initializes a new instance of the NumericIndicator class.

C#
public NumericIndicator()

Fields

CornerRadiusProperty

DependencyProperty

Identifies the CornerRadius dependency property.

C#
public static readonly DependencyProperty CornerRadiusProperty

FormatProperty

DependencyProperty

Identifies the Format dependency property.

C#
public static readonly DependencyProperty FormatProperty

PositionsProperty

DependencyProperty

Identifies the Positions dependency property.

C#
public static readonly DependencyProperty PositionsProperty

Properties

CornerRadius

CornerRadius

Gets or sets the CornerRadius.

C#
public CornerRadius CornerRadius { get; set; }
Property Value:

CornerRadius.

Gets or sets value format in the numeric indicator.

C#
public string Format { get; set; }

Gets or sets numeric positions.

C#
public NumberPositionCollection Positions { get; set; }

Methods

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

The maximum size that the method can return.

Returns:

Size

The size of the control, up to the maximum specified by constraint.

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.

C#
public override void OnApplyTemplate()

Overrides: GraphicIndicator.OnApplyTemplate()

Called when indicator's value is changed.

C#
protected override void OnValueChanged(double oldValue, double newValue)
Parameters:oldValuedouble

Old value.

newValuedouble

New value.

Overrides: GraphicIndicator.OnValueChanged(double, double)

Resets the theme.

C#
public override void ResetTheme()

Overrides: GraphicIndicator.ResetTheme()