In This Article

TickSetBase Class

Represents the base class for tick-sets.

public abstract class TickSetBase : GaugeElement, ILogicalParent, IVisualParent
Inheritance:
object Visual UIElement FrameworkElement GaugeElement object
Derived:
CircularTickSet LinearTickSet
Implements:
ILogicalParent IVisualParent

Remarks

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

Constructors

TickSetBase()

Initializes an instance of the class.

protected TickSetBase()

Properties

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 or sets a value indicating whether this instance uses a logarithmic scale. This is a dependency property.

public bool IsLogarithmic { get; set; }

Property Value

bool:

true if this instance uses a logarithmic scale; otherwise, false. The default value is false.

IsReversed

Gets or sets a value indicating whether this instance is reversed. This is a dependency property.

public bool IsReversed { get; set; }

Property Value

bool:

true if this instance is reversed; otherwise, false. The default value is false.

LogarithmicBase

Gets or sets the base of the logarithm used when IsLogarithmic is set to true. This is a dependency property.

public double LogarithmicBase { get; set; }

Property Value

double:

The logarithm base. The default value is 10.

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 or sets the maximum value. This is a dependency property.

public double Maximum { get; set; }

Property Value

double:

The maximum value. The default value is 100.

Minimum

Gets or sets the minimum value. This is a dependency property.

public double Minimum { get; set; }

Property Value

double:

The minimum value. The default value is 0.

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.

Methods

GetIntervalOrigin(DependencyObject)

Gets the value of the IntervalOriginProperty attached property for a specified object.

[AttachedPropertyBrowsableForChildren(IncludeDescendants = true)]
public static IntervalOrigin GetIntervalOrigin(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object to which the attached property is retrieved.

Returns

IntervalOrigin:

The major interval.

GetIsLogarithmic(DependencyObject)

Gets the value of the IsLogarithmicProperty attached property for a specified object.

[AttachedPropertyBrowsableForChildren(IncludeDescendants = true)]
public static bool GetIsLogarithmic(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object to which the attached property is retrieved.

Returns

bool:

The maximum value.

GetIsReversed(DependencyObject)

Gets the value of the IsReversedProperty attached property for a specified object.

[AttachedPropertyBrowsableForChildren(IncludeDescendants = true)]
public static bool GetIsReversed(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object to which the attached property is retrieved.

Returns

bool:

The major interval.

GetLogarithmicBase(DependencyObject)

Gets the value of the LogarithmicBaseProperty attached property for a specified object.

[AttachedPropertyBrowsableForChildren(IncludeDescendants = true)]
public static double GetLogarithmicBase(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object to which the attached property is retrieved.

Returns

double:

The maximum value.

GetMajorInterval(DependencyObject)

Gets the value of the MajorIntervalProperty attached property for a specified object.

[AttachedPropertyBrowsableForChildren(IncludeDescendants = true)]
public static double GetMajorInterval(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object to which the attached property is retrieved.

Returns

double:

The major interval.

GetMajorIntervalType(DependencyObject)

Gets the value of the MajorIntervalTypeProperty attached property for a specified object.

[AttachedPropertyBrowsableForChildren(IncludeDescendants = true)]
public static IntervalType GetMajorIntervalType(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object to which the attached property is retrieved.

Returns

IntervalType:

The major interval type.

GetMaximum(DependencyObject)

Gets the value of the MaximumProperty attached property for a specified object.

[AttachedPropertyBrowsableForChildren(IncludeDescendants = true)]
public static double GetMaximum(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object to which the attached property is retrieved.

Returns

double:

The maximum value.

GetMinimum(DependencyObject)

Gets the value of the MinimumProperty attached property for a specified object.

[AttachedPropertyBrowsableForChildren(IncludeDescendants = true)]
public static double GetMinimum(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object to which the attached property is retrieved.

Returns

double:

The minimum value.

GetMinorInterval(DependencyObject)

Gets the value of the MinorIntervalProperty attached property for a specified object.

[AttachedPropertyBrowsableForChildren(IncludeDescendants = true)]
public static double GetMinorInterval(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object to which the attached property is retrieved.

Returns

double:

The minor interval.

GetMinorIntervalType(DependencyObject)

Gets the value of the MinorIntervalTypeProperty attached property for a specified object.

[AttachedPropertyBrowsableForChildren(IncludeDescendants = true)]
public static IntervalType GetMinorIntervalType(DependencyObject obj)
Parameter Type Description
obj DependencyObject

The object to which the attached property is retrieved.

Returns

IntervalType:

The minor interval type.

SetIntervalOrigin(DependencyObject, IntervalOrigin)

Sets the value of the IntervalOriginProperty attached property to a specified object.

public static void SetIntervalOrigin(DependencyObject obj, IntervalOrigin value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value IntervalOrigin

The interval origin.

SetIsLogarithmic(DependencyObject, bool)

Sets the value of the IsLogarithmicProperty attached property to a specified object.

public static void SetIsLogarithmic(DependencyObject obj, bool value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value bool

The interval origin.

SetIsReversed(DependencyObject, bool)

Sets the value of the IsReversedProperty attached property to a specified object.

public static void SetIsReversed(DependencyObject obj, bool value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value bool

The interval origin.

SetLogarithmicBase(DependencyObject, double)

Sets the value of the LogarithmicBaseProperty attached property to a specified object.

public static void SetLogarithmicBase(DependencyObject obj, double value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value double

The major interval.

SetMajorInterval(DependencyObject, double)

Sets the value of the MajorIntervalProperty attached property to a specified object.

public static void SetMajorInterval(DependencyObject obj, double value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value double

The major interval.

SetMajorIntervalType(DependencyObject, IntervalType)

Sets the value of the MajorIntervalTypeProperty attached property to a specified object.

public static void SetMajorIntervalType(DependencyObject obj, IntervalType value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value IntervalType

The major interval type.

SetMaximum(DependencyObject, double)

Sets the value of the MaximumProperty attached property to a specified object.

public static void SetMaximum(DependencyObject obj, double value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value double

The maximum value.

SetMinimum(DependencyObject, double)

Sets the value of the MinimumProperty attached property to a specified object.

public static void SetMinimum(DependencyObject obj, double value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value double

The minimum value.

SetMinorInterval(DependencyObject, double)

Sets the value of the MinorIntervalProperty attached property to a specified object.

public static void SetMinorInterval(DependencyObject obj, double value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value double

The minor interval.

SetMinorIntervalType(DependencyObject, IntervalType)

Sets the value of the MinorIntervalTypeProperty attached property to a specified object.

public static void SetMinorIntervalType(DependencyObject obj, IntervalType value)
Parameter Type Description
obj DependencyObject

The object to which the attached property is written.

value IntervalType

The minor interval type.

Fields

IntervalOriginProperty

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

public static readonly DependencyProperty IntervalOriginProperty

IsLogarithmicProperty

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

public static readonly DependencyProperty IsLogarithmicProperty

IsReversedProperty

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

public static readonly DependencyProperty IsReversedProperty

LogarithmicBaseProperty

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

public static readonly DependencyProperty LogarithmicBaseProperty

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

MaximumProperty

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

public static readonly DependencyProperty MaximumProperty

MinimumProperty

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

public static readonly DependencyProperty MinimumProperty

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

Inherited Members