Class
PresenterBase

Base class for all Control instances that represent charting engine logical models.

Definition

Namespace:Telerik.UI.Xaml.Controls.Chart

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public abstract class PresenterBase : RadControl, IChartElementPresenter, IElementPresenter

Inheritance: objectRadControlPresenterBase

Derived Classes: ChartElementPresenterRadChartBase

Implements: IChartElementPresenterIElementPresenter

Inherited Members RadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.OnCreateAutomationPeer()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.MeasureOverride(Size)RadControl.ArrangeOverride(Size)RadControl.OnApplyTemplate()RadControl.UnapplyTemplateCore()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnTemplateApplied()RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

PresenterBase()

Initializes a new instance of the PresenterBase class.

Declaration

cs-api-definition
protected PresenterBase()

Fields

InfinityPoint

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

Declaration

cs-api-definition
public static readonly Point InfinityPoint

Field Value

Point

InfinitySize

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

Declaration

cs-api-definition
public static readonly Size InfinitySize

Field Value

Size

Properties

Compositor

Gets the Compositor instance used for the creation of Composition visuals.

Declaration

cs-api-definition
protected Compositor Compositor { get; }

Property Value

Compositor

ContainerVisualRoot

Gets the ContainerVisual instance used as a container for the visual elements drawn by the Composition.

Declaration

cs-api-definition
protected ContainerVisual ContainerVisualRoot { get; }

Property Value

ContainerVisual

RenderSurface

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

Declaration

cs-api-definition
protected Canvas RenderSurface { get; }

Property Value

Canvas

Methods

ApplyTemplateCore()

Initializes the render surface template part.

Declaration

cs-api-definition
protected override bool ApplyTemplateCore()

Returns

bool

Overrides RadControl.ApplyTemplateCore()

CreateContentPresenter(object, DataTemplate)

Creates a ContentPresenter associated with the specified content and template.

Declaration

cs-api-definition
protected ContentPresenter CreateContentPresenter(object content, DataTemplate template)

Parameters

content

object

template

DataTemplate

Returns

ContentPresenter

InvalidatePalette()

Re-applies the owning chart's palette.

Declaration

cs-api-definition
public void InvalidatePalette()

Implements IChartElementPresenter.InvalidatePalette()

MeasureNodeOverride(Node, object)

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

Declaration

cs-api-definition
protected virtual RadSize MeasureNodeOverride(Node node, object content)

Parameters

node

Node

content

object

Returns

RadSize

RefreshNode(object)

Invalidates the visual representation of the specified logical node.

Declaration

cs-api-definition
public void RefreshNode(object node)

Parameters

node

object

Implements IElementPresenter.RefreshNode(object)

RefreshNodeCore(Node)

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

Declaration

cs-api-definition
protected virtual void RefreshNodeCore(Node node)

Parameters

node

Node