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

Constructors

TickSetBase()

Initializes an instance of the class.

protected TickSetBase()

Properties

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.

public bool IsLogarithmic { get; set; }

Property Value

bool:

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

IsReversed

Indicates whether this instance is reversed.

public bool IsReversed { get; set; }

Property Value

bool:

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

LogarithmicBase

The base of the logarithm used when IsLogarithmic is set to true.

public double LogarithmicBase { get; set; }

Property Value

double:

The default value is 10.

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.

public double Maximum { get; set; }

Property Value

double:

The default value is 100.

Minimum

The minimum value.

public double Minimum { get; set; }

Property Value

double:

The default value is 0.

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.

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

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

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

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

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

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

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

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

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

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

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

Defines the IntervalOrigin property.

public static readonly DependencyProperty IntervalOriginProperty

IsLogarithmicProperty

Defines the IsLogarithmic property.

public static readonly DependencyProperty IsLogarithmicProperty

IsReversedProperty

Defines the IsReversed property.

public static readonly DependencyProperty IsReversedProperty

LogarithmicBaseProperty

Defines the LogarithmicBase property.

public static readonly DependencyProperty LogarithmicBaseProperty

MajorIntervalProperty

Defines the MajorInterval property.

public static readonly DependencyProperty MajorIntervalProperty

MajorIntervalTypeProperty

Defines the MajorIntervalType property.

public static readonly DependencyProperty MajorIntervalTypeProperty

MaximumProperty

Defines the Maximum property.

public static readonly DependencyProperty MaximumProperty

MinimumProperty

Defines the Minimum property.

public static readonly DependencyProperty MinimumProperty

MinorIntervalProperty

Defines the MinorInterval property.

public static readonly DependencyProperty MinorIntervalProperty

MinorIntervalTypeProperty

Defines the MinorIntervalType property.

public static readonly DependencyProperty MinorIntervalTypeProperty

Inherited Members

Extension Methods