CircularTickMarkBase Class
Represents the base class for circular tick marks.
public abstract class CircularTickMarkBase : CircularTickBase, ILogicalParent, IVisualParent
- Inheritance:
- object Visual UIElement FrameworkElement GaugeElement TickBase CircularTickBase object
- Implements:
- ILogicalParent IVisualParent
Constructors
CircularTickMarkBase()
Initializes an instance of the class.
protected CircularTickMarkBase()
Properties
Background
The background brush. The default value is WhiteSmoke.
Geometry
The custom geometry.
public Geometry? Geometry { get; set; }
Property Value
- Geometry:
A custom geometry. The default value is
null.
Remarks
This property is only used when TickMarkType is set to CustomGeometry.
ImageSource
The source of a custom image.
public ImageSource? ImageSource { get; set; }
Property Value
- ImageSource:
The image source. The default value is
null.
TickMarkAscent
The ascent of the tick mark.
TickMarkExtent
The extent of the tick mark.
TickMarkType
The type of tick mark.
public TickMarkType TickMarkType { get; set; }
Property Value
- TickMarkType:
The default value is Rectangle.
Methods
GetValues()
Returns the values to be rendered by this tick mark 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
BackgroundProperty
Defines the Background property.
public static readonly DependencyProperty BackgroundProperty
GeometryProperty
Defines the Geometry property.
public static readonly DependencyProperty GeometryProperty
ImageSourceProperty
Defines the ImageSource property.
public static readonly DependencyProperty ImageSourceProperty
TickMarkAscentProperty
Defines the TickMarkAscent property.
public static readonly DependencyProperty TickMarkAscentProperty
TickMarkExtentProperty
Defines the TickMarkExtent property.
public static readonly DependencyProperty TickMarkExtentProperty
TickMarkTypeProperty
Defines the TickMarkType property.
public static readonly DependencyProperty TickMarkTypeProperty
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