menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LineInfo - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LineInfo

    This class holds information on lines rendered as part of the chart's rendering system.

    Inheritance
    System.Object
    LineInfo
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Base.dll
    Syntax
    public class LineInfo

    Constructors

    LineInfo()

    Initializes a new instance of the LineInfo class.

    Declaration
    public LineInfo()

    Properties

    BackColor

    Gets or sets the backcolor that is to be associated with the line.

    Declaration
    [ChartTemplate(ChartTemplateSet.Simple)]
    public Color BackColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    Brush

    Gets the brush information that is to be used with the line.

    Declaration
    public Brush Brush { get; }
    Property Value
    Type
    System.Drawing.Brush

    DashStyle

    Gets or sets the style of the line.

    Declaration
    [ChartTemplate(ChartTemplateSet.Simple)]
    public DashStyle DashStyle { get; set; }
    Property Value
    Type
    System.Drawing.Drawing2D.DashStyle

    ForeColor

    Gets or sets the forecolor of the line.

    Declaration
    [ChartTemplate(ChartTemplateSet.Simple)]
    public Color ForeColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    Pen

    Gets the pen used to render the line.

    Declaration
    public Pen Pen { get; }
    Property Value
    Type
    System.Drawing.Pen

    PenType

    Gets or sets the type of pen that is to be used with the line.

    Declaration
    public PenType PenType { get; set; }
    Property Value
    Type
    System.Drawing.Drawing2D.PenType

    Width

    Gets or sets the width of the line.

    Declaration
    [ChartTemplate(ChartTemplateSet.Simple)]
    public float Width { get; set; }
    Property Value
    Type
    System.Single

    Events

    SettingsChanged

    An event that is triggered when properties are changed.

    Declaration
    public event EventHandler SettingsChanged
    Event Type
    Type
    System.EventHandler

    See Also

    GridLineType
    LineType
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved