In This Article

CircularTickLabelCustom Class

Represents an element that renders a custom tick label in a CircularGauge.

public class CircularTickLabelCustom : CircularTickLabelBase, ILogicalParent, IVisualParent
Inheritance:
object Visual UIElement FrameworkElement GaugeElement TickBase CircularTickBase CircularTickLabelBase object
Implements:
ILogicalParent IVisualParent

Constructors

CircularTickLabelCustom()

Initializes an instance of the class.

public CircularTickLabelCustom()

Properties

Text

The text that should be rendered at the specified Value.

[Localizability(LocalizationCategory.Title)]
public string? Text { get; set; }

Property Value

string

Value

The value where the custom tick label should be placed.

public double Value { get; set; }

Property Value

double:

The default value is 0.

Methods

GetValueText(double)

Returns the string representation of the specified value, using TextFormat and RoundMode.

protected override string GetValueText(double value)
Parameter Type Description
value double

The value.

Returns

string

GetValues()

Returns the values to be rendered by this tick label element.

protected override DoubleCollection GetValues()

Returns

DoubleCollection

Fields

TextProperty

Defines the Text property.

public static readonly DependencyProperty TextProperty

ValueProperty

Defines the Value property.

public static readonly DependencyProperty ValueProperty

Inherited Members

Extension Methods