Class
ChartAnnotationDescriptor

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:

cs-api-definition
public class ChartAnnotationDescriptor : DependencyObject

Inheritance: objectChartAnnotationDescriptor

Constructors

ChartAnnotationDescriptor()

Declaration

cs-api-definition
public ChartAnnotationDescriptor()

Fields

StyleProperty

Identifies the Style dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StyleProperty

Field Value

DependencyProperty

Properties

Style

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

Declaration

cs-api-definition
public Style Style { get; set; }

Property Value

Style

Methods

CreateAnnotationCore(object)

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

Declaration

cs-api-definition
protected virtual ChartAnnotation CreateAnnotationCore(object context)

Parameters

context

object

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

Returns

ChartAnnotation