Class
CartesianCustomAnnotation

Allows you to place a custom object at a specific place in your RadCartesianChart.

Definition

Namespace:Telerik.UI.Xaml.Controls.Chart

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class CartesianCustomAnnotation : CartesianChartAnnotation, IChartElementPresenter, IElementPresenter

Inheritance: objectRadControlPresenterBaseChartElementPresenterChartAnnotationCartesianChartAnnotationCartesianCustomAnnotation

Implements: IChartElementPresenterIElementPresenter

Inherited Members ChartAnnotation.ClipToPlotAreaPropertyChartAnnotation.OnApplyTemplate()ChartAnnotation.OnDetached(RadChartBase)ChartAnnotation.ClipToPlotAreaChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(object)PresenterBase.InvalidatePalette()PresenterBase.RefreshNodeCore(Node)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.RenderSurfacePresenterBase.CompositorPresenterBase.ContainerVisualRootRadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.MeasureOverride(Size)RadControl.ArrangeOverride(Size)RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnTemplateApplied()RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

CartesianCustomAnnotation()

Initializes a new instance of the CartesianCustomAnnotation class.

Declaration

cs-api-definition
public CartesianCustomAnnotation()

Fields

ContentProperty

Identifies the Content dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentProperty

Field Value

DependencyProperty

ContentTemplateProperty

Identifies the ContentTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentTemplateProperty

Field Value

DependencyProperty

HorizontalAxisProperty

Identifies the HorizontalAxis dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalAxisProperty

Field Value

DependencyProperty

HorizontalOffsetProperty

Identifies the HorizontalOffset dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalOffsetProperty

Field Value

DependencyProperty

HorizontalValueProperty

Identifies the HorizontalValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalValueProperty

Field Value

DependencyProperty

VerticalAxisProperty

Identifies the VerticalAxis dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalAxisProperty

Field Value

DependencyProperty

VerticalOffsetProperty

Identifies the VerticalOffset dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalOffsetProperty

Field Value

DependencyProperty

VerticalValueProperty

Identifies the VerticalValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalValueProperty

Field Value

DependencyProperty

Properties

Content

Gets or sets the content.

Declaration

cs-api-definition
public object Content { get; set; }

Property Value

object

The content.

ContentTemplate

Gets or sets the content template.

Declaration

cs-api-definition
public DataTemplate ContentTemplate { get; set; }

Property Value

DataTemplate

The content template.

HorizontalAxis

Gets or sets the horizontal axis.

Declaration

cs-api-definition
public CartesianAxis HorizontalAxis { get; set; }

Property Value

CartesianAxis

The horizontal axis.

HorizontalOffset

Gets or sets the horizontal offset.

Declaration

cs-api-definition
public double HorizontalOffset { get; set; }

Property Value

double

The horizontal offset.

HorizontalValue

Gets or sets the horizontal value.

Declaration

cs-api-definition
public object HorizontalValue { get; set; }

Property Value

object

The horizontal value.

VerticalAxis

Gets or sets the vertical axis.

Declaration

cs-api-definition
public CartesianAxis VerticalAxis { get; set; }

Property Value

CartesianAxis

The vertical axis.

VerticalOffset

Gets or sets the vertical offset.

Declaration

cs-api-definition
public double VerticalOffset { get; set; }

Property Value

double

The vertical offset.

VerticalValue

Gets or sets the vertical value.

Declaration

cs-api-definition
public object VerticalValue { get; set; }

Property Value

object

The vertical value.

Methods

ApplyTemplateCore()

Initializes the render surface template part.

Declaration

cs-api-definition
protected override bool ApplyTemplateCore()

Returns

bool

Overrides PresenterBase.ApplyTemplateCore()

MeasureNodeOverride(Node, object)

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

Declaration

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

Parameters

node

Node

content

object

Returns

RadSize

Overrides PresenterBase.MeasureNodeOverride(Node, object)

OnAttached()

Occurs when the presenter has been successfully attached to its owning RadChartBase instance.

Declaration

cs-api-definition
protected override void OnAttached()

Overrides ChartAnnotation.OnAttached()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides ChartAnnotation.OnCreateAutomationPeer()

UnapplyTemplateCore()

Removes the current control template. Occurs when a template has already been applied and a new one is applied.

Declaration

cs-api-definition
protected override void UnapplyTemplateCore()

Overrides RadControl.UnapplyTemplateCore()