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

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

Definition

Constructors

Initializes a new instance of the CartesianCustomAnnotation class.

C#
public CartesianCustomAnnotation()

Fields

ContentProperty

DependencyProperty

Identifies the Content dependency property.

C#
public static readonly DependencyProperty ContentProperty

ContentTemplateProperty

DependencyProperty

Identifies the ContentTemplate dependency property.

C#
public static readonly DependencyProperty ContentTemplateProperty

HorizontalAxisProperty

DependencyProperty

Identifies the HorizontalAxis dependency property.

C#
public static readonly DependencyProperty HorizontalAxisProperty

HorizontalOffsetProperty

DependencyProperty

Identifies the HorizontalOffset dependency property.

C#
public static readonly DependencyProperty HorizontalOffsetProperty

HorizontalValueProperty

DependencyProperty

Identifies the HorizontalValue dependency property.

C#
public static readonly DependencyProperty HorizontalValueProperty

VerticalAxisProperty

DependencyProperty

Identifies the VerticalAxis dependency property.

C#
public static readonly DependencyProperty VerticalAxisProperty

VerticalOffsetProperty

DependencyProperty

Identifies the VerticalOffset dependency property.

C#
public static readonly DependencyProperty VerticalOffsetProperty

VerticalValueProperty

DependencyProperty

Identifies the VerticalValue dependency property.

C#
public static readonly DependencyProperty VerticalValueProperty

Properties

Gets or sets the content.

C#
public object Content { get; set; }
Property Value:

The content.

ContentTemplate

DataTemplate

Gets or sets the content template.

C#
public DataTemplate ContentTemplate { get; set; }
Property Value:

The content template.

Gets or sets the horizontal axis.

C#
public CartesianAxis HorizontalAxis { get; set; }
Property Value:

The horizontal axis.

Gets or sets the horizontal offset.

C#
public double HorizontalOffset { get; set; }
Property Value:

The horizontal offset.

Gets or sets the horizontal value.

C#
public object HorizontalValue { get; set; }
Property Value:

The horizontal value.

Gets or sets the vertical axis.

C#
public CartesianAxis VerticalAxis { get; set; }
Property Value:

The vertical axis.

Gets or sets the vertical offset.

C#
public double VerticalOffset { get; set; }
Property Value:

The vertical offset.

Gets or sets the vertical value.

C#
public object VerticalValue { get; set; }
Property Value:

The vertical value.

Methods

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

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

RadSize

Overrides: PresenterBase.MeasureNodeOverride(ChartNode, object)

When overridden in a derived class, is invoked whenever application code or internal processes call .

C#
public override void OnApplyTemplate()

Overrides: ChartAnnotation.OnApplyTemplate()

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

C#
protected override void OnAttached()

Overrides: ChartAnnotation.OnAttached()