In This Article

TickBase Class

Represents the base class for tick marks and tick labels.

public abstract class TickBase : GaugeElement, ILogicalParent, IVisualParent
Inheritance:
object Visual UIElement FrameworkElement GaugeElement object
Derived:
CircularTickBase LinearTickBase
Implements:
ILogicalParent IVisualParent

Constructors

TickBase()

Initializes an instance of the class.

protected TickBase()

Properties

Angle

The angle used to render the tick.

public double Angle { get; set; }

Property Value

double:

The default value is 0.

BorderBrush

The border brush.

public Brush? BorderBrush { get; set; }

Property Value

Brush:

The default value is Black.

BorderDashStyle

The border dash style.

public DashStyle? BorderDashStyle { get; set; }

Property Value

DashStyle:

The default value is Solid.

BorderWidth

The border width.

public double BorderWidth { get; set; }

Property Value

double:

The default value is 0.

HasDropShadow

Indicates whether this instance has a drop shadow.

public bool HasDropShadow { get; set; }

Property Value

bool:

true if this instance has a drop shadow; otherwise, false. The default value is false.

IntervalOrigin

The interval origin.

public IntervalOrigin IntervalOrigin { get; set; }

Property Value

IntervalOrigin:

The default value is Minimum.

IsLogarithmic

Indicates whether this instance uses a logarithmic scale.

protected bool IsLogarithmic { get; }

Property Value

bool:

true if this instance uses a logarithmic scale; otherwise, false.

IsReversed

Indicates whether this instance is reversed.

protected bool IsReversed { get; }

Property Value

bool:

true if this instance is reversed; otherwise, false.

LogarithmicBase

The logarithm base when using a logarithmic scale.

protected double LogarithmicBase { get; }

Property Value

double

MajorInterval

The major interval.

public double MajorInterval { get; set; }

Property Value

double:

The default value is 10.

MajorIntervalType

The major interval type.

public IntervalType MajorIntervalType { get; set; }

Property Value

IntervalType:

The default value is Auto.

Maximum

The maximum value.

protected double Maximum { get; }

Property Value

double

Minimum

The minimum value.

protected double Minimum { get; }

Property Value

double

MinorInterval

The minor interval.

public double MinorInterval { get; set; }

Property Value

double:

The default value is 2.

MinorIntervalType

The minor interval type.

public IntervalType MinorIntervalType { get; set; }

Property Value

IntervalType:

The default value is Auto.

ScaleOffset

The offset from the scale based on the ScalePlacement.

public Unit ScaleOffset { get; set; }

Property Value

Unit:

The default value is 0px.

ScalePlacement

The placement of the tick relative to the scale.

public ScalePlacement ScalePlacement { get; set; }

Property Value

ScalePlacement:

The default value is Overlay.

Fields

AngleProperty

Defines the Angle property.

public static readonly DependencyProperty AngleProperty

BorderBrushProperty

Defines the BorderBrush property.

public static readonly DependencyProperty BorderBrushProperty

BorderDashStyleProperty

Defines the BorderDashStyle property.

public static readonly DependencyProperty BorderDashStyleProperty

BorderWidthProperty

Defines the BorderWidth property.

public static readonly DependencyProperty BorderWidthProperty

HasDropShadowProperty

Defines the HasDropShadow property.

public static readonly DependencyProperty HasDropShadowProperty

IntervalOriginProperty

Defines the IntervalOrigin property.

public static readonly DependencyProperty IntervalOriginProperty

MajorIntervalProperty

Defines the MajorInterval property.

public static readonly DependencyProperty MajorIntervalProperty

MajorIntervalTypeProperty

Defines the MajorIntervalType property.

public static readonly DependencyProperty MajorIntervalTypeProperty

MinorIntervalProperty

Defines the MinorInterval property.

public static readonly DependencyProperty MinorIntervalProperty

MinorIntervalTypeProperty

Defines the MinorIntervalType property.

public static readonly DependencyProperty MinorIntervalTypeProperty

ScaleOffsetProperty

Defines the ScaleOffset property.

public static readonly DependencyProperty ScaleOffsetProperty

ScalePlacementProperty

Defines the ScalePlacement property.

public static readonly DependencyProperty ScalePlacementProperty

Inherited Members

Extension Methods