CircularPointerMarker Class
Represents a marker pointer for use in a CircularGauge.
public class CircularPointerMarker : CircularPointerBase, ILogicalParent, IVisualParent
- Inheritance:
- object Visual UIElement FrameworkElement GaugeElement PointerBase CircularPointerBase object
- Implements:
- ILogicalParent IVisualParent
Constructors
CircularPointerMarker()
Initializes an instance of the class.
public CircularPointerMarker()
Properties
Geometry
The custom geometry.
public Geometry? Geometry { get; set; }
Property Value
Remarks
This property is only used when MarkerType is set to CustomGeometry.
ImageSource
The source of a custom image.
public ImageSource? ImageSource { get; set; }
Property Value
Remarks
This property is only used when MarkerType is set to CustomImage.
MarkerType
The type of marker rendered.
public PointerMarkerType MarkerType { get; set; }
Property Value
- PointerMarkerType:
The default value is Diamond.
Methods
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
GeometryProperty
Defines the Geometry property.
public static readonly DependencyProperty GeometryProperty
ImageSourceProperty
Defines the ImageSource property.
public static readonly DependencyProperty ImageSourceProperty
MarkerTypeProperty
Defines the MarkerType property.
public static readonly DependencyProperty MarkerTypeProperty
Inherited Members
- CircularPointerBase.PointerDirectionProperty
- CircularPointerBase.ValueAngleProperty
- CircularPointerBase.CalculateAngle(double)
- CircularPointerBase.CalculateValue(Point)
- CircularPointerBase.CalculateValue(double)
- CircularPointerBase.UpdateDisplayValue()
- CircularPointerBase.UpdateValueAngle()
- CircularPointerBase.PointerDirection
- CircularPointerBase.Radius
- CircularPointerBase.ScaleBarExtent
- CircularPointerBase.StartAngle
- CircularPointerBase.SweepAngle
- CircularPointerBase.ValueAngle
- 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