New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public abstract class PresenterBase : RadControlBase, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBase

Derived Classes: ChartElementPresenterRadChartBase

Implements: IChartElementPresenter

Inherited Members RadControlBase.OnUnloaded(object, RoutedEventArgs)RadControlBase.OnLoaded(object, RoutedEventArgs)RadControlBase.IsLoadedRadControlBase.IsTemplateApplied

Constructors

Initializes a new instance of the PresenterBase class.

C#
protected PresenterBase()

Fields

Represents a Point structure, which Width and Height members are set to double.PositiveInfinity.

C#
public static readonly Point InfinityPoint

Represents a Size structure, which Width and Height members are set to double.PositiveInfinity.

C#
public static readonly Size InfinitySize

Properties

Gets the Canvas instance used as a visual parent for all the child UI elements.

C#
protected Canvas RenderSurface { get; }

Methods

Creates a ContentPresenter associated with the specified content and template.

C#
protected ContentPresenter CreateContentPresenter(object content, DataTemplate template)
Parameters:contentobjecttemplateDataTemplateReturns:

ContentPresenter

Re-applies the owning chart's palette.

C#
public void InvalidatePalette()

Implements: IChartElementPresenter.InvalidatePalette()

Core entry point for calculating the size of a node's content.

C#
protected virtual RadSize MeasureNodeOverride(ChartNode node, object content)
Parameters:nodeChartNodecontentobjectReturns:

RadSize

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.

C#
public override void OnApplyTemplate()

Overrides: RadControlBase.OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Invalidates the visual representation of the specified logical node.

C#
public void RefreshNode(ChartNode node)
Parameters:nodeChartNode

Implements: IChartElementPresenter.RefreshNode(ChartNode)

Performs the core logic that invalidates the visual representation of the specified logical node.

C#
protected virtual void RefreshNodeCore(ChartNode node)
Parameters:nodeChartNode