Class ChartElementPresenter
Base class for all PresenterBase instances that visualize a logical chart element.
Inherited Members
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public abstract class ChartElementPresenter : PresenterBase, IChartElementPresenterWithMargin, IChartElementPresenter
Constructors
ChartElementPresenter()
Initializes a new instance of the ChartElementPresenter class.
Declaration
protected ChartElementPresenter()
Properties
Chart
Gets the RadChartBase instance to which this ChartElementPresenter belongs.
Declaration
public RadChartBase Chart { get; }
Property Value
RadChartBase
|
ZIndex
Gets or sets the Z-index of this ChartElementPresenter. Useful when adjusting the appearance of multiple elements within ChartView visual tree.
Declaration
public int ZIndex { get; set; }
Property Value
System.Int32
|
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Declaration
public override void OnApplyTemplate()
Overrides
OnAttached()
Occurs when the presenter has been successfully attached to its owning RadChartBase instance.
Declaration
protected virtual void OnAttached()
OnDetached(RadChartBase)
Occurs when the presenter has been successfully detached from its owning RadChartBase instance.
Declaration
protected virtual void OnDetached(RadChartBase oldChart)
Parameters
RadChartBase
oldChart
|