ChartMarker Class
Represents a control capable of rendering predefined shapes.
[TemplatePart(Name = "PART_Path", Type = typeof(Path))]
public class ChartMarker : Control
- Inheritance:
- object Visual UIElement FrameworkElement Control object
Constructors
ChartMarker()
Initializes a new instance of the ChartMarker class.
public ChartMarker()
Properties
Path
Gets the Path associated with the marker.
ShapeKind
Gets or sets a ChartMarkerShapeKind, which indicates what kind of shape should be rendered by the marker. This is a dependency property.
public ChartMarkerShapeKind ShapeKind { get; set; }
Property Value
- ChartMarkerShapeKind:
A ChartMarkerShapeKind, which indicates what kind of shape should be rendered by the marker. The default value is
ChartMarkerShapeKind.Ellipse
.
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate
.
public override void OnApplyTemplate()
UpdatePath()
protected virtual void UpdatePath()
Fields
ShapeKindProperty
Identifies the ShapeKind dependency property. This field is read-only.
public static readonly DependencyProperty ShapeKindProperty