Represents the base class for tick-sets.
- Inheritance:
-
object
Visual
UIElement
Framework
Element GaugeElement object
- Derived:
-
Circular
Tick LinearSet Tick Set
- Implements:
-
ILogical
Parent 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.
Properties
IntervalOrigin
Gets or sets the interval origin. This is a dependency property.
Property Value
- Interval
Origin : 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.
Property Value
- bool:
true
if this instance uses a logarithmic scale; otherwise,false
. The default value isfalse
.
IsReversed
Gets or sets a value indicating whether this instance is reversed. This is a dependency property.
Property Value
- bool:
true
if this instance is reversed; otherwise,false
. The default value isfalse
.
LogarithmicBase
Gets or sets the base of the logarithm used when Istrue
. This is a dependency property.
Property Value
- double:
The logarithm base. The default value is
10
.
MajorInterval
Gets or sets the major interval. This is a dependency property.
Property Value
- double:
The major interval. The default value is
10
.
MajorIntervalType
Gets or sets the major interval type. This is a dependency property.
Property Value
- Interval
Type : The major interval type. The default value is
IntervalType.Auto
.
Maximum
Gets or sets the maximum value. This is a dependency property.
Property Value
- double:
The maximum value. The default value is
100
.
Minimum
Gets or sets the minimum value. This is a dependency property.
Property Value
- double:
The minimum value. The default value is
0
.
MinorInterval
Gets or sets the minor interval. This is a dependency property.
Property Value
- double:
The minor interval. The default value is
2
.
MinorIntervalType
Gets or sets the minor interval type. This is a dependency property.
Property Value
- Interval
Type : The minor interval type. The default value is
IntervalType.Auto
.
Methods
GetIntervalOrigin(DependencyObject)
Gets the value of the Interval
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object to which the attached property is retrieved. |
Returns
- Interval
Origin : The major interval.
GetIsLogarithmic(DependencyObject)
Gets the value of the Is
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 Is
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 Logarithmic
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 Major
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 Major
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object to which the attached property is retrieved. |
Returns
- Interval
Type : The major interval type.
GetMaximum(DependencyObject)
Gets the value of the Maximum
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 Minimum
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 Minor
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 Minor
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object to which the attached property is retrieved. |
Returns
- Interval
Type : The minor interval type.
SetIntervalOrigin(DependencyObject, IntervalOrigin)
Sets the value of the Interval
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object to which the attached property is written. |
value | Interval |
The interval origin. |
SetIsLogarithmic(DependencyObject, bool)
Sets the value of the Is
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 Is
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 Logarithmic
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 Major
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 Major
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object to which the attached property is written. |
value | Interval |
The major interval type. |
SetMaximum(DependencyObject, double)
Sets the value of the Maximum
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 Minimum
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 Minor
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 Minor
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The object to which the attached property is written. |
value | Interval |
The minor interval type. |
Fields
IntervalOriginProperty
Identifies the Interval
IsLogarithmicProperty
Identifies the Is
IsReversedProperty
Identifies the Is
LogarithmicBaseProperty
Identifies the Logarithmic
MajorIntervalProperty
Identifies the Major
MajorIntervalTypeProperty
Identifies the Major
MaximumProperty
Identifies the Maximum dependency property. This field is read-only.
MinimumProperty
Identifies the Minimum dependency property. This field is read-only.
MinorIntervalProperty
Identifies the Minor
MinorIntervalTypeProperty
Identifies the Minor