Class
CartesianCustomAnnotation

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

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

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

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartAnnotationCartesianChartAnnotationCartesianCustomAnnotation

Implements: IChartElementPresenter

Inherited Members ChartAnnotation.ClipToPlotAreaPropertyChartAnnotation.OnDetached(RadChartBase)ChartAnnotation.OnCreateAutomationPeer()ChartAnnotation.ClipToPlotAreaChartElementPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs)ChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(ChartNode)PresenterBase.InvalidatePalette()PresenterBase.RefreshNodeCore(ChartNode)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.OnInitialized(EventArgs)PresenterBase.RenderSurfaceRadControlBase.OnUnloaded(object, RoutedEventArgs)RadControlBase.OnLoaded(object, RoutedEventArgs)RadControlBase.IsLoadedRadControlBase.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

MeasureNodeOverride(ChartNode, object)

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

Declaration

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

Parameters

node

ChartNode

content

object

Returns

RadSize

Overrides PresenterBase.MeasureNodeOverride(ChartNode, object)

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides ChartAnnotation.OnApplyTemplate()

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()