ClassPresenterBase
Base class for all Control instances that represent charting engine logical models.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public abstract class PresenterBase : RadControlBase, IChartElementPresenter
Inheritance: objectRadControlBasePresenterBase
Derived Classes:
Implements:
Inherited Members
Constructors
PresenterBase()
Initializes a new instance of the PresenterBase class.
Declaration
protected PresenterBase()
Fields
InfinityPoint
Represents a Point structure, which Width and Height members are set to double.PositiveInfinity.
Declaration
public static readonly Point InfinityPoint
Field Value
Point
InfinitySize
Represents a Size structure, which Width and Height members are set to double.PositiveInfinity.
Declaration
public static readonly Size InfinitySize
Field Value
Size
Properties
RenderSurface
Gets the Canvas instance used as a visual parent for all the child UI elements.
Declaration
protected Canvas RenderSurface { get; }
Property Value
Canvas
Methods
CreateContentPresenter(object, DataTemplate)
Creates a ContentPresenter associated with the specified content and template.
Declaration
protected ContentPresenter CreateContentPresenter(object content, DataTemplate template)
Parameters
content
template
DataTemplate
Returns
ContentPresenter
InvalidatePalette()
Re-applies the owning chart's palette.
Declaration
public void InvalidatePalette()
Implements
MeasureNodeOverride(ChartNode, object)
Core entry point for calculating the size of a node's content.
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
public override void OnApplyTemplate()
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
RefreshNode(ChartNode)
Invalidates the visual representation of the specified logical node.
Declaration
public void RefreshNode(ChartNode node)
Parameters
node
Implements
RefreshNodeCore(ChartNode)
Performs the core logic that invalidates the visual representation of the specified logical node.
Declaration
protected virtual void RefreshNodeCore(ChartNode node)
Parameters
node