SparkAnnotation
Provides shared draw-order and label-offset settings for spark-area annotations, plus a plot-area clipping setting used by plot-band annotations.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class SparkAnnotation : UISparkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISparkElementPresenter, IStylableElement, IStylableNode, IShapedElement
Inheritance: objectDisposableObjectRadObjectUISparkElementSparkAnnotation
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the SparkAnnotation class.
public SparkAnnotation()
Fields
Identifies whether a plot-band annotation is clipped to the plot area.
public static readonly RadProperty ClipToPlotAreaProperty
Identifies the annotation's position in the chart drawing order.
public static readonly RadProperty DrawModeProperty
Identifies the offset applied to an annotation label.
public static readonly RadProperty PositionOffsetProperty
Properties
Gets or sets a value indicating whether this instance will be clipped to the bounds of the plot area.
public bool ClipToPlotArea { get; set; }
Gets or sets a value indicating the position of the annotation in the chart draw stack.
public AnnotationDrawMode DrawMode { get; set; }
Gets or sets the offset of the label of the annotations in pixels.
public SizeF PositonOffset { get; set; }
Methods
Occurs when the annotation has been successfully attached to its owning SparkView instance.
protected override void OnAttached(UISparkElement parent)
Overrides:
Occurs when the annotation has been successfully detached from its owning SparkView instance.
protected override void OnDettached()
Overrides:
Invalidates the annotation when its fill or border color changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property change notification.
Overrides: