Class
CartesianGridLineAnnotation

Allows you to place a straight line at a specific place in your RadCartesianChart.

Definition

Namespace:Telerik.UI.Xaml.Controls.Chart

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class CartesianGridLineAnnotation : CartesianStrokedAnnotation, IChartElementPresenter, IElementPresenter

Inheritance: objectRadControlPresenterBaseChartElementPresenterChartAnnotationCartesianChartAnnotationCartesianStrokedAnnotationCartesianGridLineAnnotation

Implements: IChartElementPresenterIElementPresenter

Inherited Members CartesianStrokedAnnotation.StrokePropertyCartesianStrokedAnnotation.StrokeThicknessPropertyCartesianStrokedAnnotation.StrokeDashArrayPropertyCartesianStrokedAnnotation.LabelPropertyCartesianStrokedAnnotation.LabelDefinitionPropertyCartesianStrokedAnnotation.StrokeCartesianStrokedAnnotation.StrokeThicknessCartesianStrokedAnnotation.StrokeDashArrayCartesianStrokedAnnotation.LabelCartesianStrokedAnnotation.LabelDefinitionCartesianStrokedAnnotation.IsStrokeInsetChartAnnotation.ClipToPlotAreaPropertyChartAnnotation.OnApplyTemplate()ChartAnnotation.OnAttached()ChartAnnotation.OnDetached(RadChartBase)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

CartesianGridLineAnnotation()

Initializes a new instance of the CartesianGridLineAnnotation class.

Declaration

cs-api-definition
public CartesianGridLineAnnotation()

Fields

AxisProperty

Identifies the Axis dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AxisProperty

Field Value

DependencyProperty

ValueProperty

Identifies the Value dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValueProperty

Field Value

DependencyProperty

Properties

Axis

Gets or sets the axis.

Declaration

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

Property Value

CartesianAxis

The axis.

Presenter

Gets the presenter.

Declaration

cs-api-definition
protected override Shape Presenter { get; }

Property Value

Shape

The presenter.

Overrides CartesianStrokedAnnotation.Presenter

Value

Gets or sets the value.

Declaration

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

Property Value

object

The value.

Methods

ApplyTemplateCore()

Initializes the render surface template part.

Declaration

cs-api-definition
protected override bool ApplyTemplateCore()

Returns

bool

Overrides PresenterBase.ApplyTemplateCore()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides ChartAnnotation.OnCreateAutomationPeer()

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