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

Represents a definition of a ChartAnnotation instance. Used together with a ChartAnnotationsProvider instance to provide dynamic chart annotation generation, depending on the data specified.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public class ChartAnnotationDescriptor : DependencyObject

Inheritance: objectChartAnnotationDescriptor

Constructors

C#
public ChartAnnotationDescriptor()

Fields

StyleProperty

DependencyProperty

Identifies the Style dependency property.

C#
public static readonly DependencyProperty StyleProperty

Properties

Style

Style

Gets or sets the Style of the annotations that are to be created.

C#
public Style Style { get; set; }

Methods

Core entry point for creating the ChartAnnotation type defined by this descriptor. Allows inheritors to provide custom implementation.

C#
protected virtual ChartAnnotation CreateAnnotationCore(object context)
Parameters:contextobject

The context (the view model) for which a ChartAnnotation needs to be created.

Returns:

ChartAnnotation