Class
ChartAnnotation

This is the base class for all chart annotations.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public abstract class ChartAnnotation : ChartElementPresenter, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartAnnotation

Derived Classes: CartesianChartAnnotationPolarChartAnnotation

Implements: IChartElementPresenter

Inherited Members ChartElementPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs)ChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(ChartNode)PresenterBase.InvalidatePalette()PresenterBase.MeasureNodeOverride(ChartNode, object)PresenterBase.RefreshNodeCore(ChartNode)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.OnInitialized(EventArgs)PresenterBase.RenderSurfaceRadControlBase.OnUnloaded(object, RoutedEventArgs)RadControlBase.OnLoaded(object, RoutedEventArgs)RadControlBase.IsLoadedRadControlBase.IsTemplateApplied

Constructors

ChartAnnotation()

Declaration

cs-api-definition
protected ChartAnnotation()

Fields

ClipToPlotAreaProperty

Identifies the ClipToPlotArea dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClipToPlotAreaProperty

Field Value

DependencyProperty

Properties

ClipToPlotArea

Gets or sets a value indicating whether this instance will be clipped to the bounds of the plot area.

Declaration

cs-api-definition
public bool ClipToPlotArea { get; set; }

Property Value

bool

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides PresenterBase.OnApplyTemplate()

OnAttached()

Occurs when the presenter has been successfully attached to its owning RadChartBase instance.

Declaration

cs-api-definition
protected override void OnAttached()

Overrides ChartElementPresenter.OnAttached()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnDetached(RadChartBase)

Occurs when the presenter has been successfully detached from its owning RadChartBase instance.

Declaration

cs-api-definition
protected override void OnDetached(RadChartBase oldChart)

Parameters

oldChart

RadChartBase

Overrides ChartElementPresenter.OnDetached(RadChartBase)