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

Remarks

For detailed documentation on this control's features and how to use them, please see the
Gauge documentation topics.

Constructors

TickBase()

Initializes an instance of the class.

protected TickBase()

Properties

Angle

Gets or sets the angle used to render the tick. This is a dependency property.

public double Angle { get; set; }

Property Value

double:

The angle. The default value is 0.

BorderBrush

Gets or sets the border brush. This is a dependency property.

public Brush BorderBrush { get; set; }

Property Value

Brush:

The border brush. The default value is Black.

BorderDashStyle

Gets or sets the border dash style. This is a dependency property.

public DashStyle BorderDashStyle { get; set; }

Property Value

DashStyle:

The border dash style. The default value is DashStyle.Solid.

BorderWidth

Gets or sets the border width. This is a dependency property.

public double BorderWidth { get; set; }

Property Value

double:

The border width. The default value is 0.

HasDropShadow

Gets or sets a value indicating whether this instance has a drop shadow. This is a dependency property.

public bool HasDropShadow { get; set; }

Property Value

bool:

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

IntervalOrigin

Gets or sets the interval origin. This is a dependency property.

public IntervalOrigin IntervalOrigin { get; set; }

Property Value

IntervalOrigin:

The interval origin. The default value is IntervalOrigin.Minimum.

IsLogarithmic

Gets a value indicating 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

Gets a value indicating whether this instance is reversed.

protected bool IsReversed { get; }

Property Value

bool:

true if this instance is reversed; otherwise, false.

LogarithmicBase

Gets the logarithm base when using a logarithmic scale.

protected double LogarithmicBase { get; }

Property Value

double:

The logarithm base.

MajorInterval

Gets or sets the major interval. This is a dependency property.

public double MajorInterval { get; set; }

Property Value

double:

The major interval. The default value is 10.

MajorIntervalType

Gets or sets the major interval type. This is a dependency property.

public IntervalType MajorIntervalType { get; set; }

Property Value

IntervalType:

The major interval type. The default value is IntervalType.Auto.

Maximum

Gets the maximum value.

protected double Maximum { get; }

Property Value

double:

The maximum value.

Minimum

Gets the minimum value.

protected double Minimum { get; }

Property Value

double:

The minimum value.

MinorInterval

Gets or sets the minor interval. This is a dependency property.

public double MinorInterval { get; set; }

Property Value

double:

The minor interval. The default value is 2.

MinorIntervalType

Gets or sets the minor interval type. This is a dependency property.

public IntervalType MinorIntervalType { get; set; }

Property Value

IntervalType:

The minor interval type. The default value is IntervalType.Auto.

ScaleOffset

Gets or sets the offset from the scale based on the ScalePlacement. This is a dependency property.

public Unit ScaleOffset { get; set; }

Property Value

Unit:

The scale offset. The default value is 0px.

ScalePlacement

Gets or sets the placement of the tick relative to the scale. This is a dependency property.

public ScalePlacement ScalePlacement { get; set; }

Property Value

ScalePlacement:

The scale placement. The default value is ScalePlacement.Overlay.

Fields

AngleProperty

Identifies the Angle dependency property. This field is read-only.

public static readonly DependencyProperty AngleProperty

BorderBrushProperty

Identifies the BorderBrush dependency property. This field is read-only.

public static readonly DependencyProperty BorderBrushProperty

BorderDashStyleProperty

Identifies the BorderDashStyle dependency property. This field is read-only.

public static readonly DependencyProperty BorderDashStyleProperty

BorderWidthProperty

Identifies the BorderWidth dependency property. This field is read-only.

public static readonly DependencyProperty BorderWidthProperty

HasDropShadowProperty

Identifies the HasDropShadow dependency property. This field is read-only.

public static readonly DependencyProperty HasDropShadowProperty

IntervalOriginProperty

Identifies the IntervalOrigin dependency property. This field is read-only.

public static readonly DependencyProperty IntervalOriginProperty

MajorIntervalProperty

Identifies the MajorInterval dependency property. This field is read-only.

public static readonly DependencyProperty MajorIntervalProperty

MajorIntervalTypeProperty

Identifies the MajorIntervalType dependency property. This field is read-only.

public static readonly DependencyProperty MajorIntervalTypeProperty

MinorIntervalProperty

Identifies the MinorInterval dependency property. This field is read-only.

public static readonly DependencyProperty MinorIntervalProperty

MinorIntervalTypeProperty

Identifies the MinorIntervalType dependency property. This field is read-only.

public static readonly DependencyProperty MinorIntervalTypeProperty

ScaleOffsetProperty

Identifies the ScaleOffset dependency property. This field is read-only.

public static readonly DependencyProperty ScaleOffsetProperty

ScalePlacementProperty

Identifies the ScalePlacement dependency property. This field is read-only.

public static readonly DependencyProperty ScalePlacementProperty

Inherited Members