ChartBehavior
Class
This is the base class for all chart behaviors.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
C#
public abstract class ChartBehavior : InheritanceContextPropagator
Inheritance: objectInheritanceContextPropagatorChartBehavior
Derived Classes:
Inherited Members
Constructors
C#
protected ChartBehavior()
Properties
AdornerContainer
Canvas
Gets the Canvas instance used by different behaviors to add some elements to the visual tree. Will be null if the behavior is not yet attached or the chart's template is not applied.
C#
protected Canvas AdornerContainer { get; set; }
Gets the RadChartBase instance to which this behavior is attached.
C#
public RadChartBase Chart { get; }
Methods
Called when the behavior is added to the chart control.
C#
protected virtual void OnAttached()
Called when chart template is changed.
C#
protected virtual void OnChartTemplateChanged(Canvas oldAdornerContainer, Canvas adornerContainer)
The old adorner layer.
adornerContainerCanvasThe adorner layer.
Called when the behavior is removed from the chart control.
C#
protected virtual void OnDetached()
Called when the chart owner is removed from the element tree.
C#
protected virtual void OnUnloaded()