LinearTickLabelCustom Class
Represents an element that renders a custom tick label in a LinearGauge.
public class LinearTickLabelCustom : LinearTickLabelBase, ILogicalParent, IVisualParent, IOrientedElement
- Inheritance:
- object Visual UIElement FrameworkElement GaugeElement TickBase LinearTickBase LinearTickLabelBase object
- Implements:
- ILogicalParent IVisualParent IOrientedElement
Constructors
LinearTickLabelCustom()
Initializes an instance of the class.
public LinearTickLabelCustom()
Properties
Text
The text that should be rendered at the specified Value.
[Localizability(LocalizationCategory.Title)]
public string? Text { get; set; }
Property Value
Value
The value where the custom tick label should be placed.
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
GetValues()
Returns the values to be rendered by this tick label element.
Fields
TextProperty
Defines the Text property.
public static readonly DependencyProperty TextProperty
ValueProperty
Defines the Value property.
public static readonly DependencyProperty ValueProperty
Inherited Members
- LinearTickLabelBase.FontFamilyProperty
- LinearTickLabelBase.FontSizeProperty
- LinearTickLabelBase.FontStyleProperty
- LinearTickLabelBase.FontWeightProperty
- LinearTickLabelBase.ForegroundProperty
- LinearTickLabelBase.RoundModeProperty
- LinearTickLabelBase.TextFormatProperty
- LinearTickLabelBase.OnRender(DrawingContext)
- LinearTickLabelBase.FontFamily
- LinearTickLabelBase.FontSize
- LinearTickLabelBase.FontStyle
- LinearTickLabelBase.FontWeight
- LinearTickLabelBase.Foreground
- LinearTickLabelBase.RoundMode
- LinearTickLabelBase.TextFormat
- LinearTickBase.CalculateExtent(double)
- LinearTickBase.Orientation
- LinearTickBase.ScaleBarAscent
- LinearTickBase.ScaleBarExtent
- 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