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:
trueif this instance uses a logarithmic scale; otherwise,false. The default value isfalse.
IsReversed
Indicates whether this instance is reversed.
public bool IsReversed { get; set; }
Property Value
- bool:
trueif this instance is reversed; otherwise,false. The default value isfalse.
LogarithmicBase
The base of the logarithm used when IsLogarithmic is set to true.
MajorInterval
The major interval.
MajorIntervalType
The major interval type.
public IntervalType MajorIntervalType { get; set; }
Property Value
- IntervalType:
The default value is Auto
Maximum
The maximum value.
Minimum
The minimum value.
MinorInterval
The minor interval.
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
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
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
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
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
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
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
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
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
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
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
- GaugeElement.ZIndexProperty
- GaugeElement.GetVisualChild(int)
- GaugeElement.GetZIndex(UIElement)
- GaugeElement.SetZIndex(UIElement, int)
- GaugeElement.VisualChildren
- GaugeElement.VisualChildrenCount
- GaugeElement.ZIndex