Class ChartExtension
Provides the base class for the extensibility mechanism supported by RadChart.
Inheritance
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class ChartExtension : Object, IChartExtension<ChartArea>
Remarks
The extensibility mechanism implements the IExtensibleObject / IExtension pattern. Each custom extension must inherit from the Telerik.Windows.Controls.Charting.ChartExtension class. You can add custom control extensions on the ChartArea level via the ChartArea.Extensions collection property.
Constructors
ChartExtension()
Declaration
public ChartExtension()
Properties
Owners
Gets the collection of ChartArea instances that are associated with the chart extension.
Declaration
protected ChartAreaCollection Owners { get; }
Property Value
ChartAreaCollection
|
Methods
Attach(ChartArea)
Enables an extension object to find out when it has been aggregated. Called when the extension is added to the ChartArea.Extensions collection property.
Declaration
public virtual void Attach(ChartArea owner)
Parameters
ChartArea
owner
The ChartArea object whose Extensions collection is being modified (new extension added). |
Implements
Detach(ChartArea)
Enables an object to find out when it is no longer aggregated. Called when an extension is removed from the ChartArea.Extensions collection property.
Declaration
public virtual void Detach(ChartArea owner)
Parameters
ChartArea
owner
The ChartArea object whose Extensions collection is being modified (extension removed). |