WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartLineInfo

    Show / Hide Table of Contents

    Class ChartLineInfo

    Provides a StyleInfoSubObjectBase object for border line settings associated with a point. Properties that have not been initialized will inherit default values from a base style.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    ChartSubStyleInfoBase
    ChartLineInfo
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    ChartSubStyleInfoBase.CacheValues
    ChartSubStyleInfoBase.WeakReferenceChangedListeners
    StyleInfoSubObjectBase.Dispose(Boolean)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.SubObjectIdentity
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.Owner
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.ClearCache()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.BeginInit()
    StyleInfoBase.EndInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.GetDefaultStyle()
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.InheritStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.Store
    StyleInfoBase.Updating
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsChanged
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    ShouldSerializeBasedPersisterType.GetNewAttributesCount(PropertyDescriptor)
    ShouldSerializeBasedPersisterType.AddNewAttributes(PropertyDescriptor, Attribute[], Int32)
    ShouldSerializeBasedPersisterType.GetCustomPDC(PropertyDescriptorCollection)
    ShouldSerializeBasedPersisterType.CheckAllProperties
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Base.dll
    Syntax
    public class ChartLineInfo : ChartSubStyleInfoBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject

    Constructors

    ChartLineInfo()

    Overloaded. Constructor.

    Declaration
    public ChartLineInfo()

    ChartLineInfo(StyleInfoSubObjectIdentity)

    Initializes a new ChartLineInfo object and associates it with an existing StyleInfoSubObjectIdentity.

    Declaration
    public ChartLineInfo(StyleInfoSubObjectIdentity identity)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A StyleInfoSubObjectIdentity that holds the identity for this ChartLineInfo.

    ChartLineInfo(StyleInfoSubObjectIdentity, ChartLineInfoStore)

    Initializes a new ChartLineInfo object and associates it with an existing StyleInfoSubObjectIdentity.

    Declaration
    public ChartLineInfo(StyleInfoSubObjectIdentity identity, ChartLineInfoStore store)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A StyleInfoSubObjectIdentity that holds the identity for this ChartLineInfo.

    A ChartLineInfoStore that holds data for this ChartLineInfo. All changes made in this style object will be saved in the ChartLineInfoStore object.
    ChartLineInfoStore store

    Properties

    Alignment

    Gets or sets the pen alignment of the line represented by this object.

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

    The alignment.

    Color

    Gets or sets the color of the line. For line based charts it works only when 3D is enabled.

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

    The color.

    DashPattern

    Gets or sets the dash pattern of the line represented by this object.

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

    The dash pattern.

    DashStyle

    Gets or sets the style of the line represented by this object. DashStyle

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

    The dash style.

    Default

    Gets a default ChartLineInfo to be used with a default style.

    Declaration
    public static ChartLineInfo Default { get; }
    Property Value
    Type Description
    ChartLineInfo

    The default.

    Remarks

    The Default of the ChartStyleInfo class will return the default line info that this method generates through its overridden version of Syncfusion.Windows.Forms.Chart.ChartLineInfo.GetDefaultStyle.

    GdipPen

    Gets pen associated with style.

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

    The gdip pen.

    HasAlignment

    Gets a value indicating whether the Alignment property has been initialized.

    Declaration
    public bool HasAlignment { get; }
    Property Value
    Type Description
    System.Boolean

    True if this instance has alignment; otherwise, false.

    HasColor

    Gets a value indicating whether the Color property has been initialized.

    Declaration
    public bool HasColor { get; }
    Property Value
    Type Description
    System.Boolean

    True if this instance has color; otherwise, false.

    HasDashPattern

    Gets a value indicating whether the DashPattern property has been initialized.

    Declaration
    public bool HasDashPattern { get; }
    Property Value
    Type Description
    System.Boolean

    True if this instance has dash pattern; otherwise, false.

    HasDashStyle

    Gets a value indicating whether the DashStyle property has been initialized.

    Declaration
    public bool HasDashStyle { get; }
    Property Value
    Type Description
    System.Boolean

    True if this instance has dash style; otherwise, false.

    HasWidth

    Gets a value indicating whether the Width property has been initialized.

    Declaration
    public bool HasWidth { get; }
    Property Value
    Type Description
    System.Boolean

    True if this instance has width; otherwise, false.

    Width

    Gets or sets the width in pixels of the line represented by this object.

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

    The width.

    Methods

    CreateDefault()

    Resets the changes made in the ChartLineInfo class.

    Declaration
    public static ChartLineInfo CreateDefault()
    Returns
    Type Description
    ChartLineInfo

    Returns default ChartLineInfo.

    Dispose()

    Method to dispose ChartLineInfo object

    Declaration
    public void Dispose()

    MakeCopy(StyleInfoBase, StyleInfoProperty)

    Makes an exact copy of the current object.

    Declaration
    public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
    Parameters
    Type Name Description
    StyleInfoBase newOwner

    The new owner style object for the copied object.

    StyleInfoProperty sip

    The identifier for this object.

    Returns
    Type Description
    IStyleInfoSubObject

    A copy of the current object registered with the new owner style object.

    Overrides
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)

    ResetAlignment()

    Resets the Alignment property.

    Declaration
    public void ResetAlignment()

    ResetColor()

    Resets the Color property.

    Declaration
    public void ResetColor()

    ResetDashPattern()

    Resets the DashPattern property.

    Declaration
    public void ResetDashPattern()

    ResetDashStyle()

    Resets the DashStyle property.

    Declaration
    public void ResetDashStyle()

    ResetWidth()

    Resets the Width property.

    Declaration
    public void ResetWidth()

    Implements

    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved