In This Article

CircularTickLabelCustom Class

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

public class CircularTickLabelCustom : CircularTickLabelBase, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, ILogicalParent, IVisualParent
Inheritance:
System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement GaugeElement TickBase CircularTickBase CircularTickLabelBase Object
Implements:
ILogicalParent IVisualParent

Remarks

For detailed documentation on this control's features and how to use them, please see the Gauge documentation topics.

Constructors

CircularTickLabelCustom()

public CircularTickLabelCustom()

Properties

Text

Gets or sets the text that should be rendered at the specified Value. This is a dependency property.

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

Property Value

System.String:

The text that should be rendered. The default value is null.

Value

Gets or sets the value where the custom tick label should be placed. This is a dependency property.

public double Value { get; set; }

Property Value

System.Double:

The value where the custom tick label should be placed. The default value is 0.

Methods

GetValues()

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

protected override DoubleCollection GetValues()

Returns

System.Windows.Media.DoubleCollection:

Zero or more values to be rendered by this tick label element.

GetValueText(Double)

Gets the string representation of the specified value.

protected override string GetValueText(double value)
Parameter Type Description
value System.Double

The value.

Returns

System.String:

The string representation of the specified value.

Fields

TextProperty

Identifies the Text dependency property. This field is read-only.

public static readonly DependencyProperty TextProperty

ValueProperty

Identifies the Value dependency property. This field is read-only.

public static readonly DependencyProperty ValueProperty

Inherited Members

Extension Methods