TickBase Class
Represents the base class for tick marks and tick labels.
public abstract class TickBase : GaugeElement, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, ILogicalParent, IVisualParent
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement GaugeElement Object
- Derived:
- CircularTickBase LinearTickBase
- Implements:
- ILogicalParent IVisualParent
Remarks
For detailed documentation on this control's features and how to use them, please see the
Gauge documentation topics.
Constructors
TickBase()
protected TickBase()
Properties
Angle
Gets or sets the angle used to render the tick. This is a dependency property.
BorderBrush
Gets or sets the border brush. This is a dependency property.
public Brush BorderBrush { get; set; }
Property Value
- Brush:
The border brush. The default value is
Black
.
BorderDashStyle
Gets or sets the border dash style. This is a dependency property.
public DashStyle BorderDashStyle { get; set; }
Property Value
- DashStyle:
The border dash style. The default value is
DashStyle.Solid
.
BorderWidth
Gets or sets the border width. This is a dependency property.
public double BorderWidth { get; set; }
Property Value
- Double:
The border width. The default value is
0
.
HasDropShadow
Gets or sets a value indicating whether this instance has a drop shadow. This is a dependency property.
public bool HasDropShadow { get; set; }
Property Value
- Boolean:
true
if this instance has a drop shadow; otherwise,false
. The default value isfalse
.
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 a value indicating whether this instance uses a logarithmic scale.
protected bool IsLogarithmic { get; }
Property Value
- Boolean:
true
if this instance uses a logarithmic scale; otherwise,false
.
IsReversed
Gets a value indicating whether this instance is reversed.
protected bool IsReversed { get; }
Property Value
- Boolean:
true
if this instance is reversed; otherwise,false
.
LogarithmicBase
Gets the logarithm base when using a logarithmic scale.
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 the maximum value.
Minimum
Gets the minimum value.
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
.
ScaleOffset
Gets or sets the offset from the scale based on the ScalePlacement. This is a dependency property.
public Unit ScaleOffset { get; set; }
Property Value
- Unit:
The scale offset. The default value is
0px
.
ScalePlacement
Gets or sets the placement of the tick relative to the scale. This is a dependency property.
public ScalePlacement ScalePlacement { get; set; }
Property Value
- ScalePlacement:
The scale placement. The default value is
ScalePlacement.Overlay
.
Fields
AngleProperty
Identifies the Angle dependency property. This field is read-only.
public static readonly DependencyProperty AngleProperty
BorderBrushProperty
Identifies the BorderBrush dependency property. This field is read-only.
public static readonly DependencyProperty BorderBrushProperty
BorderDashStyleProperty
Identifies the BorderDashStyle dependency property. This field is read-only.
public static readonly DependencyProperty BorderDashStyleProperty
BorderWidthProperty
Identifies the BorderWidth dependency property. This field is read-only.
public static readonly DependencyProperty BorderWidthProperty
HasDropShadowProperty
Identifies the HasDropShadow dependency property. This field is read-only.
public static readonly DependencyProperty HasDropShadowProperty
IntervalOriginProperty
Identifies the IntervalOrigin dependency property. This field is read-only.
public static readonly DependencyProperty IntervalOriginProperty
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
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
ScaleOffsetProperty
Identifies the ScaleOffset dependency property. This field is read-only.
public static readonly DependencyProperty ScaleOffsetProperty
ScalePlacementProperty
Identifies the ScalePlacement dependency property. This field is read-only.
public static readonly DependencyProperty ScalePlacementProperty
Inherited Members
- GaugeElement.ZIndexProperty
- GaugeElement.ILogicalParent.AddLogicalChild(Object)
- GaugeElement.ILogicalParent.RemoveLogicalChild(Object)
- GaugeElement.IVisualParent.AddVisualChild(Visual)
- GaugeElement.IVisualParent.RemoveVisualChild(Visual)
- GaugeElement.GetVisualChild(Int32)
- GaugeElement.GetZIndex(UIElement)
- GaugeElement.SetZIndex(UIElement, Int32)
- GaugeElement.VisualChildren
- GaugeElement.VisualChildrenCount
- GaugeElement.ZIndex
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()