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
Remarks
For detailed documentation on this control's features and how to use them, please see the Gauge documentation topics.
Constructors
CircularTickLabelCustom()
Initializes an instance of the class.
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
- 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
- double:
The value where the custom tick label should be placed. The default value is
0
.
Methods
GetValueText(double)
Gets the string representation of the specified value.
protected override string GetValueText(double value)
Parameter | Type | Description |
---|---|---|
value | double | The value. |
Returns
- string:
The string representation of the specified value.
GetValues()
Gets the values to be rendered by this tick label element.
protected override DoubleCollection GetValues()
Returns
- DoubleCollection:
Zero or more values to be rendered by this tick label element.
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
- CircularTickLabelBase.FontFamilyProperty
- CircularTickLabelBase.FontSizeProperty
- CircularTickLabelBase.FontStyleProperty
- CircularTickLabelBase.FontWeightProperty
- CircularTickLabelBase.ForegroundProperty
- CircularTickLabelBase.RoundModeProperty
- CircularTickLabelBase.TextFormatProperty
- CircularTickLabelBase.TextOrientationProperty
- CircularTickLabelBase.OnRender(DrawingContext)
- CircularTickLabelBase.FontFamily
- CircularTickLabelBase.FontSize
- CircularTickLabelBase.FontStyle
- CircularTickLabelBase.FontWeight
- CircularTickLabelBase.Foreground
- CircularTickLabelBase.RoundMode
- CircularTickLabelBase.TextFormat
- CircularTickLabelBase.TextOrientation
- CircularTickBase.CalculateAngle(double)
- CircularTickBase.Radius
- CircularTickBase.ScaleBarExtent
- CircularTickBase.StartAngle
- CircularTickBase.SweepAngle
- TickBase.AngleProperty
- TickBase.BorderBrushProperty
- TickBase.BorderDashStyleProperty
- TickBase.BorderWidthProperty
- TickBase.HasDropShadowProperty
- TickBase.IntervalOriginProperty
- TickBase.MajorIntervalProperty
- TickBase.MajorIntervalTypeProperty
- TickBase.MinorIntervalProperty
- TickBase.MinorIntervalTypeProperty
- TickBase.ScaleOffsetProperty
- TickBase.ScalePlacementProperty
- TickBase.Angle
- TickBase.BorderBrush
- TickBase.BorderDashStyle
- TickBase.BorderWidth
- TickBase.HasDropShadow
- TickBase.IntervalOrigin
- TickBase.IsLogarithmic
- TickBase.IsReversed
- TickBase.LogarithmicBase
- TickBase.MajorInterval
- TickBase.MajorIntervalType
- TickBase.Maximum
- TickBase.Minimum
- TickBase.MinorInterval
- TickBase.MinorIntervalType
- TickBase.ScaleOffset
- TickBase.ScalePlacement
- GaugeElement.ZIndexProperty
- GaugeElement.GetVisualChild(int)
- GaugeElement.GetZIndex(UIElement)
- GaugeElement.SetZIndex(UIElement, int)
- GaugeElement.VisualChildren
- GaugeElement.VisualChildrenCount
- GaugeElement.ZIndex