Class PresenterBase
Base class for all System.Windows.Controls.Control instances that represent charting engine logical models.
Inherited Members
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public abstract class PresenterBase : RadControlBase, IChartElementPresenterWithMargin, IChartElementPresenter
Constructors
PresenterBase()
Fields
InfinityPoint
Represents a System.Windows.Point structure, which Width and Height members are set to double.PositiveInfinity.
Declaration
public static readonly Point InfinityPoint
Field Value
System.Windows.Point
|
InfinitySize
Represents a System.Windows.Size structure, which Width and Height members are set to double.PositiveInfinity.
Declaration
public static readonly Size InfinitySize
Field Value
System.Windows.Size
|
Properties
RenderSurface
Gets the System.Windows.Controls.Canvas instance used as a visual parent for all the child UI elements.
Declaration
protected Canvas RenderSurface { get; }
Property Value
System.Windows.Controls.Canvas
|
Methods
CreateContentPresenter(Object, DataTemplate)
Creates a System.Windows.Controls.ContentPresenter associated with the specified content and template.
Declaration
protected ContentPresenter CreateContentPresenter(object content, DataTemplate template)
Parameters
System.Object
content
|
System.Windows.DataTemplate
template
|
Returns
System.Windows.Controls.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.
Declaration
protected virtual RadSize MeasureNodeOverride(ChartNode node, object content)
Parameters
ChartNode
node
|
System.Object
content
|
Returns
RadSize
|
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
RefreshNode(ChartNode)
Invalidates the visual representation of the specified logical node.
Declaration
public void RefreshNode(ChartNode node)
Parameters
ChartNode
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
ChartNode
node
|
Explicit Interface Implementations
IChartElementPresenter.IsVisible
Gets a value indicating whether this instance is visible.
Declaration
bool IChartElementPresenter.IsVisible { get; }
Returns
System.Boolean
|
Implements
Remarks
This property supports the RadChart infrastructure and is not intended to be used directly from your code.
IChartElementPresenter.MeasureContent(ChartNode, Object)
Retrieves the desired size for the specified node's content.
Declaration
RadSize IChartElementPresenter.MeasureContent(ChartNode owner, object content)
Parameters
ChartNode
owner
|
System.Object
content
|
Returns
RadSize
|
Implements
IChartElementPresenter.MeasureVisual(ChartNode, RadSize)
Declaration
RadSize IChartElementPresenter.MeasureVisual(ChartNode visualModel, RadSize availableSize)
Parameters
ChartNode
visualModel
|
RadSize
availableSize
|
Returns
RadSize
|