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

Represents a line annotation. The locations of the two points that determine the line are calculated base on the HorizontalFrom, HorizontalTo, VerticalFrom and VerticalTo properties.

Definition

Constructors

Initializes a new instance of the CartesianCustomLineAnnotation class.

C#
public CartesianCustomLineAnnotation()

Fields

DashArrayProperty

DependencyProperty

Identifies the DashArray dependency property.

C#
public static readonly DependencyProperty DashArrayProperty

HorizontalAxisProperty

DependencyProperty

Identifies the HorizontalAxis dependency property.

C#
public static readonly DependencyProperty HorizontalAxisProperty

HorizontalFromProperty

DependencyProperty

Identifies the HorizontalFrom dependency property.

C#
public static readonly DependencyProperty HorizontalFromProperty

HorizontalToProperty

DependencyProperty

Identifies the HorizontalTo dependency property.

C#
public static readonly DependencyProperty HorizontalToProperty

StrokeProperty

DependencyProperty

Identifies the Stroke dependency property.

C#
public static readonly DependencyProperty StrokeProperty

StrokeThicknessProperty

DependencyProperty

Identifies the StrokeThickness dependency property.

C#
public static readonly DependencyProperty StrokeThicknessProperty

VerticalAxisProperty

DependencyProperty

Identifies the VerticalAxis dependency property.

C#
public static readonly DependencyProperty VerticalAxisProperty

VerticalFromProperty

DependencyProperty

Identifies the VerticalFrom dependency property.

C#
public static readonly DependencyProperty VerticalFromProperty

VerticalToProperty

DependencyProperty

Identifies the VerticalTo dependency property.

C#
public static readonly DependencyProperty VerticalToProperty

Properties

DashArray

DoubleCollection

Gets or sets a collection of double values that indicate the pattern of dashes and gaps that is used to outline shapes.

C#
public DoubleCollection DashArray { get; set; }
Property Value:

The line dash array.

Gets or sets the horizontal axis.

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

The horizontal axis.

Gets or sets the horizontal value that the line will be drawn from.

C#
public object HorizontalFrom { get; set; }

Gets or sets the horizontal value that the line will be drawn to.

C#
public object HorizontalTo { get; set; }

Stroke

Brush

Gets or sets the Brush that specifies how the shape outline is painted.

C#
public Brush Stroke { get; set; }
Property Value:

The line stroke.

Gets or sets the width of the shape stroke outline.

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

The line stroke thickness.

Gets or sets the vertical axis.

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

The vertical axis.

Gets or sets the vertical value that the line will be drawn from.

C#
public object VerticalFrom { get; set; }

Gets or sets the vertical value that the line will be drawn to.

C#
public object VerticalTo { get; set; }

Methods

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

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Overrides: ChartAnnotation.OnCreateAutomationPeer()