ChartMarker Class
Represents a control capable of rendering predefined shapes.
[TemplatePart(Name = "PART_Path", Type = typeof(Path))]
public class ChartMarker : Control, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
- Inheritance:
- Object DispatcherObject DependencyObject 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
Inherited Members
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()