LinearTickMarkBase Class
Represents the base class for linear tick marks.
public abstract class LinearTickMarkBase : LinearTickBase, ILogicalParent, IVisualParent, IOrientedElement
- Inheritance:
- object Visual UIElement FrameworkElement GaugeElement TickBase LinearTickBase object
- Implements:
- ILogicalParent IVisualParent IOrientedElement
Constructors
LinearTickMarkBase()
Initializes an instance of the class.
protected LinearTickMarkBase()
Properties
Background
The background brush.
Geometry
The custom geometry.
public Geometry? Geometry { get; set; }
Property Value
Remarks
This property is only used when TickMarkType is set to CustomGeometry.
ImageSource
The source of a custom image.
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
- 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