In This Article

LinearTickMarkMajor Class

Represents an element that renders major tick marks in a LinearGauge.

public class LinearTickMarkMajor : LinearTickMarkBase, ILogicalParent, IVisualParent
Inheritance:
object Visual UIElement FrameworkElement GaugeElement TickBase LinearTickBase LinearTickMarkBase object
Implements:
ILogicalParent IVisualParent

Remarks

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

Constructors

LinearTickMarkMajor()

Initializes an instance of the class.

public LinearTickMarkMajor()

Properties

EndValue

Gets or sets the last value that should be rendered. This is a dependency property.

public double EndValue { get; set; }

Property Value

double:

The last value that should be rendered. The default value is Double.NaN.

MaximumTickVisibility

Gets or sets a value indicating whether a tick should be rendered at the maximum value. This is a dependency property.

public TickVisibility MaximumTickVisibility { get; set; }

Property Value

TickVisibility:

The visibility of the maximum tick. The default value is Always.

Remarks

The SkipValues property takes precedence over this property.

MinimumTickVisibility

Gets or sets a value indicating whether a tick should be rendered at the minimum value. This is a dependency property.

public TickVisibility MinimumTickVisibility { get; set; }

Property Value

TickVisibility:

The visibility of the minimum tick. The default value is Always.

Remarks

The SkipValues property takes precedence over this property.

SkipValues

Gets or sets the values that should not be rendered. This is a dependency property.

public DoubleCollection SkipValues { get; set; }

Property Value

DoubleCollection:

The values that should not be rendered. The default value is null.

StartValue

Gets or sets the first value that should be rendered. This is a dependency property.

public double StartValue { get; set; }

Property Value

double:

The first value that should be rendered. The default value is Double.NaN.

Methods

GetValues()

Gets the values to be rendered by this tick mark element.

protected override DoubleCollection GetValues()

Returns

DoubleCollection:

Zero or more values to be rendered by this tick mark element.

Fields

EndValueProperty

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

public static readonly DependencyProperty EndValueProperty

MaximumTickVisibilityProperty

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

public static readonly DependencyProperty MaximumTickVisibilityProperty

MinimumTickVisibilityProperty

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

public static readonly DependencyProperty MinimumTickVisibilityProperty

SkipValuesProperty

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

public static readonly DependencyProperty SkipValuesProperty

StartValueProperty

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

public static readonly DependencyProperty StartValueProperty

Inherited Members