Class
CartesianFromToAnnotation

Represents an annotation which position is defined by a rectangle defined by HorizontalFrom, HorizontalTo, VerticalFrom and VerticalTo properties.

Definition

Namespace:Telerik.UI.Xaml.Controls.Chart

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public abstract class CartesianFromToAnnotation : CartesianStrokedAnnotation, IChartElementPresenter, IElementPresenter

Inheritance: objectRadControlPresenterBaseChartElementPresenterChartAnnotationCartesianChartAnnotationCartesianStrokedAnnotationCartesianFromToAnnotation

Derived Classes: CartesianCustomLineAnnotationCartesianMarkedZoneAnnotation

Implements: IChartElementPresenterIElementPresenter

Inherited Members CartesianStrokedAnnotation.StrokePropertyCartesianStrokedAnnotation.StrokeThicknessPropertyCartesianStrokedAnnotation.StrokeDashArrayPropertyCartesianStrokedAnnotation.LabelPropertyCartesianStrokedAnnotation.LabelDefinitionPropertyCartesianStrokedAnnotation.StrokeCartesianStrokedAnnotation.StrokeThicknessCartesianStrokedAnnotation.StrokeDashArrayCartesianStrokedAnnotation.LabelCartesianStrokedAnnotation.LabelDefinitionCartesianStrokedAnnotation.PresenterCartesianStrokedAnnotation.IsStrokeInsetChartAnnotation.ClipToPlotAreaPropertyChartAnnotation.OnApplyTemplate()ChartAnnotation.OnDetached(RadChartBase)ChartAnnotation.OnCreateAutomationPeer()ChartAnnotation.ClipToPlotAreaChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(object)PresenterBase.InvalidatePalette()PresenterBase.MeasureNodeOverride(Node, object)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

CartesianFromToAnnotation()

Declaration

cs-api-definition
protected CartesianFromToAnnotation()

Fields

HorizontalAxisProperty

Identifies the HorizontalAxis dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalAxisProperty

Field Value

DependencyProperty

HorizontalFromProperty

Identifies the HorizontalFrom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalFromProperty

Field Value

DependencyProperty

HorizontalToProperty

Identifies the HorizontalTo dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalToProperty

Field Value

DependencyProperty

VerticalAxisProperty

Identifies the VerticalAxis dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalAxisProperty

Field Value

DependencyProperty

VerticalFromProperty

Identifies the VerticalFrom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalFromProperty

Field Value

DependencyProperty

VerticalToProperty

Identifies the VerticalTo dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalToProperty

Field Value

DependencyProperty

Properties

HorizontalAxis

Gets or sets the horizontal axis that the annotation is associated with.

Declaration

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

Property Value

CartesianAxis

HorizontalFrom

Gets or sets the start horizontal coordinate of the annotation.

Declaration

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

Property Value

object

HorizontalTo

Gets or sets the end horizontal coordinate of the annotation.

Declaration

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

Property Value

object

VerticalAxis

Gets or sets the vertical axis that the annotation is associated with.

Declaration

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

Property Value

CartesianAxis

VerticalFrom

Gets or sets the start vertical coordinate of the annotation.

Declaration

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

Property Value

object

VerticalTo

Gets or sets the end vertical coordinate of the annotation.

Declaration

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

Property Value

object

Methods

ApplyTemplateCore()

Initializes the render surface template part.

Declaration

cs-api-definition
protected override bool ApplyTemplateCore()

Returns

bool

Overrides PresenterBase.ApplyTemplateCore()

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

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