CircularPointerBase Class
Represents a base class for linear pointers.
public abstract class CircularPointerBase : PointerBase, ILogicalParent, IVisualParent
- Inheritance:
- object Visual UIElement FrameworkElement GaugeElement PointerBase object
- Derived:
- CircularPointerBar CircularPointerCap CircularPointerLabel CircularPointerMarker CircularPointerNeedle
- Implements:
- ILogicalParent IVisualParent
Constructors
CircularPointerBase()
Initializes an instance of the class.
protected CircularPointerBase()
Properties
PointerDirection
The direction the pointer will rotate on value changes.
public CircularPointerDirection PointerDirection { get; set; }
Property Value
- CircularPointerDirection:
The default value is Normal.
Radius
The associated radius of this element, which is inherited/set via an attached property on CircularScale.
ScaleBarExtent
The extent of the bar in the associated ScaleBase.
StartAngle
The associated start angle of this element, which is inherited/set via an attached property on CircularScale.
SweepAngle
The associated sweep angle of this element, which is inherited/set via an attached property on CircularScale.
ValueAngle
The angle used to display the Value on the circular gauge.
Methods
CalculateAngle(double)
Calculates an angle (not including the start angle) for the specified value.
protected double CalculateAngle(double value)
| Parameter | Type | Description |
|---|---|---|
| value | double | The value. |
Returns
CalculateValue(double)
Calculates the value based on a specified angle.
protected double CalculateValue(double angle)
| Parameter | Type | Description |
|---|---|---|
| angle | double | The angle. |
Returns
CalculateValue(Point)
Calculates the value based on a specified point.
protected override double CalculateValue(Point point)
| Parameter | Type | Description |
|---|---|---|
| point | Point | The point. |
Returns
UpdateDisplayValue()
Updates the DisplayValue property.
protected virtual void UpdateDisplayValue()
UpdateValueAngle()
Updates the ValueAngle property.
protected virtual void UpdateValueAngle()
Fields
PointerDirectionProperty
Defines the PointerDirection property.
public static readonly DependencyProperty PointerDirectionProperty
ValueAngleProperty
Defines the ValueAngle property.
protected static readonly DependencyProperty ValueAngleProperty
Inherited Members
- PointerBase.ValueChangingEvent
- PointerBase.ValueChangedEvent
- PointerBase.BackgroundProperty
- PointerBase.BorderBrushProperty
- PointerBase.BorderDashStyleProperty
- PointerBase.BorderWidthProperty
- PointerBase.CanDragProperty
- PointerBase.DampeningMaximumDurationProperty
- PointerBase.DampeningMinimumDurationProperty
- PointerBase.DisplayValueProperty
- PointerBase.DragCursorProperty
- PointerBase.HasDropShadowProperty
- PointerBase.IsDraggingProperty
- PointerBase.IsDraggingAnimatedProperty
- PointerBase.IsSnappingEnabledProperty
- PointerBase.IsValueChangedEventRaisedProperty
- PointerBase.IsValueChangingEventRaisedProperty
- PointerBase.PointerAscentProperty
- PointerBase.PointerExtentProperty
- PointerBase.RefreshRateProperty
- PointerBase.ScaleOffsetProperty
- PointerBase.ScalePlacementProperty
- PointerBase.SnappingIntervalProperty
- PointerBase.SnappingModeProperty
- PointerBase.ThrottledValueProperty
- PointerBase.ValueProperty
- PointerBase.CancelDrag()
- PointerBase.OnCreateAutomationPeer()
- PointerBase.OnKeyDown(KeyEventArgs)
- PointerBase.OnMouseLeftButtonDown(MouseButtonEventArgs)
- PointerBase.OnMouseLeftButtonUp(MouseButtonEventArgs)
- PointerBase.OnMouseMove(MouseEventArgs)
- PointerBase.OnValueChanged(double, double)
- PointerBase.StartDrag(MouseButtonEventArgs)
- PointerBase.UpdateValue(Point)
- PointerBase.Background
- PointerBase.BorderBrush
- PointerBase.BorderDashStyle
- PointerBase.BorderWidth
- PointerBase.CanDrag
- PointerBase.DampeningMaximumDuration
- PointerBase.DampeningMinimumDuration
- PointerBase.DisplayValue
- PointerBase.DragCursor
- PointerBase.HasDropShadow
- PointerBase.IsDragging
- PointerBase.IsDraggingAnimated
- PointerBase.IsLogarithmic
- PointerBase.IsReversed
- PointerBase.IsSnappingEnabled
- PointerBase.IsValueChangedEventRaised
- PointerBase.IsValueChangingEventRaised
- PointerBase.LogarithmicBase
- PointerBase.Maximum
- PointerBase.Minimum
- PointerBase.PointerAscent
- PointerBase.PointerExtent
- PointerBase.RefreshRate
- PointerBase.ThrottledValue
- PointerBase.ScaleOffset
- PointerBase.ScalePlacement
- PointerBase.SnappingInterval
- PointerBase.SnappingMode
- PointerBase.Value
- PointerBase.ValueChanging
- PointerBase.ValueChanged
- GaugeElement.ZIndexProperty
- GaugeElement.GetVisualChild(int)
- GaugeElement.GetZIndex(UIElement)
- GaugeElement.SetZIndex(UIElement, int)
- GaugeElement.VisualChildren
- GaugeElement.VisualChildrenCount
- GaugeElement.ZIndex