New to Telerik UI for WPFStart a free 30-day trial

Represents a logical object that may be used to create chart annotations automatically.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public class ChartAnnotationsProvider : InheritanceContextPropagator

Inheritance: objectInheritanceContextPropagatorChartAnnotationsProvider

Inherited Members InheritanceContextPropagator.CreateInstanceCore()InheritanceContextPropagator.FreezeCore(bool)

Constructors

Initializes a new instance of the ChartAnnotationsProvider class.

C#
public ChartAnnotationsProvider()

Fields

Identifies the AnnotationDescriptorSelector dependency property.

C#
public static readonly DependencyProperty AnnotationDescriptorSelectorProperty

SourceProperty

DependencyProperty

Identifies the Source dependency property.

C#
public static readonly DependencyProperty SourceProperty

Properties

Gets the collection of ChartAnnotationDescriptor objects that specify what chart annotations are to be created.

C#
public ChartAnnotationDescriptorCollection AnnotationDescriptors { get; }

Gets or sets the ChartAnnotationDescriptorSelector instance that may be used for context-based descriptor selection.

C#
public ChartAnnotationDescriptorSelector AnnotationDescriptorSelector { get; set; }

Gets or sets the collection of objects that contain the data for the dynamic annotations to be created.

C#
public IEnumerable Source { get; set; }

Events

Occurs when an annotation is created. Allows for the annotation to be additionally set up or completely replaced. This event may be raised with the annotation being null (for example in cases when a suitable descriptor was not found). In such a case, this event can still be used to create and set up a new annotation.

C#
public event EventHandler<ChartAnnotationCreatedEventArgs> AnnotationCreated