MicroChartMarker Class
Represents a control capable of rendering predefined shapes.
[TemplatePart(Name = "PART_Path", Type = typeof(Path))]
public class MicroChartMarker : Control, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
- Inheritance:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control Object
Constructors
MicroChartMarker()
public MicroChartMarker()
Properties
Path
Gets the Path associated with the marker.
protected Path Path { get; }
Property Value
- System.Windows.Shapes.Path
ShapeKind
Gets or sets a MicroChartMarkerShapeKind, which indicates what kind of shape should be rendered by the marker. This is a dependency property.
public MicroChartMarkerShapeKind ShapeKind { get; set; }
Property Value
- MicroChartMarkerShapeKind:
A MicroChartMarkerShapeKind, which indicates what kind of shape should be rendered by the marker. The default value is
MicroChartMarkerShapeKind.Ellipse
.
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate
.
public override void OnApplyTemplate()
UpdatePath()
Updates the System.Windows.Media.Geometry of the Path element.
protected virtual void UpdatePath()
Fields
ShapeKindProperty
Identifies the ShapeKind dependency property. This field is read-only.
public static readonly DependencyProperty ShapeKindProperty
Inherited Members
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()