skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class CustomLine

Custom line annotation.

Inheritance
System.Object
AnnotationBase
LineAnnotationBase
CustomLine
Inherited Members
LineAnnotationBase.ElementX1Property
LineAnnotationBase.ElementX2Property
LineAnnotationBase.ElementY1Property
LineAnnotationBase.ElementY2Property
LineAnnotationBase.ElementX1
LineAnnotationBase.ElementX2
LineAnnotationBase.ElementY1
LineAnnotationBase.ElementY2
AnnotationBase.ElementStyleProperty
AnnotationBase.StrokeProperty
AnnotationBase.StrokeThicknessProperty
AnnotationBase.YAxisNameProperty
AnnotationBase.ConvertYDataUnitsToPhysical(Double)
AnnotationBase.ConvertXDataUnitsToPhysical(Double)
AnnotationBase.OnInitialized(EventArgs)
AnnotationBase.ElementStyle
AnnotationBase.Stroke
AnnotationBase.StrokeThickness
AnnotationBase.YAxisName
AnnotationBase.ChartArea
AnnotationBase.AxisY
AnnotationBase.AxisX
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll

Syntax

public class CustomLine : LineAnnotationBase, ILogicalItem

Constructors

CustomLine()

Initializes a new instance of the CustomLine class.

Declaration
public CustomLine()

Fields

MaxXProperty

Identifies the MaxX dependency property.

Declaration
public static readonly DependencyProperty MaxXProperty
Field Value
System.Windows.DependencyProperty

MaxYProperty

Identifies the MaxY dependency property.

Declaration
public static readonly DependencyProperty MaxYProperty
Field Value
System.Windows.DependencyProperty

MinXProperty

Identifies the MinX dependency property.

Declaration
public static readonly DependencyProperty MinXProperty
Field Value
System.Windows.DependencyProperty

MinYProperty

Identifies the MinY dependency property.

Declaration
public static readonly DependencyProperty MinYProperty
Field Value
System.Windows.DependencyProperty

SlopeProperty

Identifies the Slope dependency property.

Declaration
public static readonly DependencyProperty SlopeProperty
Field Value
System.Windows.DependencyProperty

XInterceptProperty

Identifies the XIntercept dependency property.

Declaration
public static readonly DependencyProperty XInterceptProperty
Field Value
System.Windows.DependencyProperty

YInterceptProperty

Identifies the YIntercept dependency property.

Declaration
public static readonly DependencyProperty YInterceptProperty
Field Value
System.Windows.DependencyProperty

Properties

EndX

This property is obsolete. Please use MaxX property.

Declaration
public double EndX { get; set; }
Property Value
System.Double

EndY

This property is obsolete. Please use MaxY property.

Declaration
public double EndY { get; set; }
Property Value
System.Double

MaxX

Where annotation line is clipped on maximum X value.

Declaration
public double MaxX { get; set; }
Property Value
System.Double

MaxY

Where annotation line is clipped on maximum Y value.

Declaration
public double MaxY { get; set; }
Property Value
System.Double

MinX

Where annotation line is clipped on minimum X value.

Declaration
public double MinX { get; set; }
Property Value
System.Double

MinY

Where annotation line is clipped on minimum Y value.

Declaration
public double MinY { get; set; }
Property Value
System.Double

Slope

Gets or sets the Slope.

Declaration
public double Slope { get; set; }
Property Value
System.Double

StartX

This property is obsolete. Please use MinX property.

Declaration
public double StartX { get; set; }
Property Value
System.Double

StartY

This property is obsolete. Please use MinY property.

Declaration
public double StartY { get; set; }
Property Value
System.Double

XIntercept

X coordinate where custom line intercepts the X axis.

Declaration
public double XIntercept { get; set; }
Property Value
System.Double

YIntercept

Y coordinate where custom line intercepts the Y axis.

Declaration
public double YIntercept { get; set; }
Property Value
System.Double

Methods

Update()

Updates the geometry of the annotation.

Declaration
protected override void Update()
Overrides
AnnotationBase.Update()

XInterceptChangedCallback(DependencyObject, DependencyPropertyChangedEventArgs)

Triggers when the XIntercept dependency property is changed.

Declaration
public static void XInterceptChangedCallback(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
System.Windows.DependencyObject sender

The sender.

System.Windows.DependencyPropertyChangedEventArgs args

The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

YInterceptChangedCallback(DependencyObject, DependencyPropertyChangedEventArgs)

Triggers when the YIntercept dependency property is changed.

Declaration
public static void YInterceptChangedCallback(DependencyObject sender, DependencyPropertyChangedEventArgs args)
Parameters
System.Windows.DependencyObject sender

The sender.

System.Windows.DependencyPropertyChangedEventArgs args

The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.