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

Represents a marked zone annotation. The location of the rectangle that determine the marked zone is calculated base on the HorizontalFrom, HorizontalTo, VerticalFrom and VerticalTo properties.

Definition

Constructors

Initializes a new instance of the CartesianMarkedZoneAnnotation class.

C#
public CartesianMarkedZoneAnnotation()

Fields

DashArrayProperty

DependencyProperty

Identifies the DashArray dependency property.

C#
public static readonly DependencyProperty DashArrayProperty

FillProperty

DependencyProperty

Identifies the Fill dependency property.

C#
public static readonly DependencyProperty FillProperty

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 the border of the marked zone.

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

The line dash array.

Fill

Brush

Gets or sets the fill of the marked zone.

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

The fill.

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 marked zone will be drawn from. If this value is null the marked zone will reach the plot area's end.

C#
public object HorizontalFrom { get; set; }

Gets or sets the horizontal value that the marked zone will be drawn to. If this value is null the marked zone will reach the plot area's end.

C#
public object HorizontalTo { get; set; }

Stroke

Brush

Gets or sets the stroke of the marked zone.

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

The line stroke.

Gets or sets the stroke thickness of the marked zone.

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 marked zone will be drawn from. If this value is null the marked zone will reach the plot area's end.

C#
public object VerticalFrom { get; set; }

Gets or sets the vertical value that the marked zone will be drawn to. If this value is null the marked zone will reach the plot area's end.

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