In This Article

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

Remarks

For detailed documentation on this control's features and how to use them, please see the Gauge documentation topics.

Constructors

CircularPointerMarker()

Initializes an instance of the class.

public CircularPointerMarker()

Properties

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 MarkerType is set to PointerMarkerType.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.

Remarks

This property is only used when MarkerType is set to PointerMarkerType.CustomImage.

MarkerType

Gets or sets the type of marker rendered. This is a dependency property.

public PointerMarkerType MarkerType { get; set; }

Property Value

PointerMarkerType:

The type of marker rendered. The default value is PointerMarkerType.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

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

MarkerTypeProperty

Identifies the MarkerType dependency property. This field is read-only.

public static readonly DependencyProperty MarkerTypeProperty

Inherited Members