CircularTickMarkBase Class
Represents the base class for circular tick marks.
public abstract class CircularTickMarkBase : CircularTickBase, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, ILogicalParent, IVisualParent
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement GaugeElement TickBase CircularTickBase Object
- Implements:
- ILogicalParent IVisualParent
Remarks
For detailed documentation on this control's features and how to use them, please see the Gauge documentation topics.
Constructors
CircularTickMarkBase()
protected CircularTickMarkBase()
Properties
Background
Gets or sets the background brush. This is a dependency property.
public Brush Background { get; set; }
Property Value
- Brush:
The background brush. The default value is
WhiteSmoke
.
Geometry
Gets or sets the custom geometry. This is a dependency property.
public Geometry Geometry { get; set; }
Property Value
- Geometry:
A custom geometry. The default value is null.
Remarks
This property is only used when TickMarkType is set to TickMarkType.CustomGeometry
.
ImageSource
Gets or sets the source of a custom image. This is a dependency property.
public ImageSource ImageSource { get; set; }
Property Value
- ImageSource:
The image source. The default value is null.
TickMarkAscent
Gets or sets the ascent of the tick mark. This is a dependency property.
public Unit TickMarkAscent { get; set; }
Property Value
- Unit:
The ascent of the tick mark. The default value is
1
pixel.
TickMarkExtent
Gets or sets the extent of the tick mark. This is a dependency property.
public Unit TickMarkExtent { get; set; }
Property Value
- Unit:
The extent of the tick mark. The default value is
6
pixels.
TickMarkType
Gets or sets the type of tick mark. This is a dependency property.
public TickMarkType TickMarkType { get; set; }
Property Value
- TickMarkType:
The type of tick mark. The default value is
TickMarkType.Rectangle
.
Methods
GetValues()
Gets the values to be rendered by this tick mark element.
protected abstract DoubleCollection GetValues()
Returns
- DoubleCollection:
Zero or more values to be rendered by this tick mark element.
OnRender(DrawingContext)
When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.
protected override void OnRender(DrawingContext drawingContext)
Parameter | Type | Description |
---|---|---|
drawingContext | DrawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |
Fields
BackgroundProperty
Identifies the Background dependency property. This field is read-only.
public static readonly DependencyProperty BackgroundProperty
GeometryProperty
Identifies the Geometry dependency property. This field is read-only.
public static readonly DependencyProperty GeometryProperty
ImageSourceProperty
Identifies the ImageSource dependency property. This field is read-only.
public static readonly DependencyProperty ImageSourceProperty
TickMarkAscentProperty
Identifies the TickMarkAscent dependency property. This field is read-only.
public static readonly DependencyProperty TickMarkAscentProperty
TickMarkExtentProperty
Identifies the TickMarkExtent dependency property. This field is read-only.
public static readonly DependencyProperty TickMarkExtentProperty
TickMarkTypeProperty
Identifies the TickMarkType dependency property. This field is read-only.
public static readonly DependencyProperty TickMarkTypeProperty
Inherited Members
- CircularTickBase.CalculateAngle(Double)
- CircularTickBase.Radius
- CircularTickBase.ScaleBarExtent
- CircularTickBase.StartAngle
- CircularTickBase.SweepAngle
- TickBase.AngleProperty
- TickBase.BorderBrushProperty
- TickBase.BorderDashStyleProperty
- TickBase.BorderWidthProperty
- TickBase.HasDropShadowProperty
- TickBase.IntervalOriginProperty
- TickBase.MajorIntervalProperty
- TickBase.MajorIntervalTypeProperty
- TickBase.MinorIntervalProperty
- TickBase.MinorIntervalTypeProperty
- TickBase.ScaleOffsetProperty
- TickBase.ScalePlacementProperty
- TickBase.Angle
- TickBase.BorderBrush
- TickBase.BorderDashStyle
- TickBase.BorderWidth
- TickBase.HasDropShadow
- TickBase.IntervalOrigin
- TickBase.IsLogarithmic
- TickBase.IsReversed
- TickBase.LogarithmicBase
- TickBase.MajorInterval
- TickBase.MajorIntervalType
- TickBase.Maximum
- TickBase.Minimum
- TickBase.MinorInterval
- TickBase.MinorIntervalType
- TickBase.ScaleOffset
- TickBase.ScalePlacement
- 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()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()