CircularTickLabelBase Class
Represents the base class for circular tick labels.
public abstract class CircularTickLabelBase : CircularTickBase, ILogicalParent, IVisualParent
- Inheritance:
- object Visual UIElement FrameworkElement GaugeElement TickBase CircularTickBase object
- Implements:
- ILogicalParent IVisualParent
Constructors
CircularTickLabelBase()
Initializes an instance of the class.
protected CircularTickLabelBase()
Properties
FontFamily
The font family.
FontSize
The font size.
FontStyle
The font style.
FontWeight
The font weight.
Foreground
The foreground brush.
RoundMode
Indicates how to round the values displayed.
TextFormat
The format used to convert Value to a string.
TextOrientation
The text orientation.
public TextOrientation TextOrientation { get; set; }
Property Value
- TextOrientation:
The default value is Normal.
Methods
GetValueText(double)
Returns the string representation of the specified value, using TextFormat and RoundMode.
protected virtual string GetValueText(double value)
| Parameter | Type | Description |
|---|---|---|
| value | double | The value. |
Returns
GetValues()
Returns the values to be rendered by this tick label element.
OnRender(DrawingContext)
When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.
protected override void OnRender(DrawingContext drawingContext)
| Parameter | Type | Description |
|---|---|---|
| drawingContext | DrawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |
Fields
FontFamilyProperty
Defines the FontFamily property.
public static readonly DependencyProperty FontFamilyProperty
FontSizeProperty
Defines the FontSize property.
public static readonly DependencyProperty FontSizeProperty
FontStyleProperty
Defines the FontStyle property.
public static readonly DependencyProperty FontStyleProperty
FontWeightProperty
Defines the FontWeight property.
public static readonly DependencyProperty FontWeightProperty
ForegroundProperty
Defines the Foreground property.
public static readonly DependencyProperty ForegroundProperty
RoundModeProperty
Defines the RoundMode property.
public static readonly DependencyProperty RoundModeProperty
TextFormatProperty
Defines the TextFormat property.
public static readonly DependencyProperty TextFormatProperty
TextOrientationProperty
Defines the TextOrientation property.
public static readonly DependencyProperty TextOrientationProperty
Inherited Members
- 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