WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartSymbolInfo - WindowsForms API Reference | Syncfusion StyleInfoSubObjectBase object for symbols associated with a ChartPoint. ">

    Show / Hide Table of Contents

    Class ChartSymbolInfo

    This class provides a StyleInfoSubObjectBase object for symbols associated with a ChartPoint.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    ChartSubStyleInfoBase
    ChartSymbolInfo
    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.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 ChartSymbolInfo : ChartSubStyleInfoBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject

    Constructors

    ChartSymbolInfo()

    Initializes a new instance of the ChartSymbolInfo class.

    Declaration
    public ChartSymbolInfo()

    ChartSymbolInfo(StyleInfoSubObjectIdentity)

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

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

    A StyleInfoSubObjectIdentity that holds the identity for this ChartSymbolInfo.

    ChartSymbolInfo(StyleInfoSubObjectIdentity, ChartSymbolInfoStore)

    Initializes a new instance of ChartSymbolInfo object and associates it with an existing StyleInfoSubObjectIdentity.

    Declaration
    public ChartSymbolInfo(StyleInfoSubObjectIdentity identity, ChartSymbolInfoStore store)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A StyleInfoSubObjectIdentity that holds the identity for this ChartSymbolInfo.

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

    Properties

    Border

    Gets or sets the information that is to be used for drawing border.

    Declaration
    [ChartTemplate(ChartTemplateSet.Content)]
    public ChartLineInfo Border { get; set; }
    Property Value
    Type Description
    ChartLineInfo

    The border.

    Color

    Gets or sets the color that is to be used with the symbol.

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

    The color.

    Default

    Gets a default ChartSymbolInfo that is to be used with a default style.

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

    DimmedColor

    Gets or sets the color of the dimmed symbol.

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

    The color of the dimmed symbol.

    HasBorder

    Gets a value indicating whether line information has been initialized for the current object.

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

    HasColor

    Gets a value indicating whether the symbol's color has been initialized.

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

    true if this instance has color; otherwise, false.

    HasDimmedColor

    Gets a value indicating whether this instance has dimmed color.

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

    true if this instance has dimmed color; otherwise, false.

    HasHighlightColor

    Gets a value indicating whether this instance has highlight color.

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

    true if this instance has highlight color; otherwise, false.

    HasImageIndex

    Gets a value indicating whether the ImageIndex has been initialized.

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

    true if this instance has image index; otherwise, false.

    HasMarker

    Indicates whether the marker of the symbol has been initialized.

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

    HasOffset

    Gets a value indicating whether the offset of the symbol has been initialized.

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

    true if this instance has offset; otherwise, false.

    HasShape

    Gets a value indicating whether the style has been initialized.

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

    true if this instance has shape; otherwise, false.

    HasSize

    Gets a value indicating whether the size of the symbol has been initialized.

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

    true if this instance has size; otherwise, false.

    HighlightColor

    Gets or sets the color of the highlighted symbol.

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

    The color of the highlighted symbol.

    ImageIndex

    Gets or sets the image index that is to be used to access the image from the associated ChartStyleInfo object's ImageList.

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

    The index of the image.

    Marker

    Gets or sets the marker of the symbol.

    Declaration
    public ChartMarker Marker { get; set; }
    Property Value
    Type Description
    ChartMarker

    Offset

    Gets or sets the offset of the symbol.

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

    The offset.

    Shape

    Gets or sets the style of the symbol that is to be displayed.

    Declaration
    [ChartTemplate(ChartTemplateSet.Simple)]
    public ChartSymbolShape Shape { get; set; }
    Property Value
    Type Description
    ChartSymbolShape

    Size

    Gets or sets the size of the symbol.

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

    The size.

    Methods

    CreateSubObjectIdentity(StyleInfoProperty)

    Override this method to create a product-specific identity object for a sub object.

    Declaration
    public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
    Parameters
    Type Name Description
    StyleInfoProperty sip
    Returns
    Type Description
    StyleInfoSubObjectIdentity

    An identity object for a subobject of this style.

    Overrides
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)

    Dispose()

    Method to dispose ChartSymbolInfo object

    Declaration
    public void Dispose()

    GetDefaultStyle()

    Returns Default.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    A ChartSymbolInfo object with default values.

    Overrides
    StyleInfoBase.GetDefaultStyle()

    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)

    ResetBorder()

    Resets line information.

    Declaration
    public void ResetBorder()

    ResetColor()

    Resets the symbol's color.

    Declaration
    public void ResetColor()

    ResetDimmedColor()

    Resets the color of the dimmed.

    Declaration
    public void ResetDimmedColor()

    ResetHighlightColor()

    Resets the color of the highlighted symbol.

    Declaration
    public void ResetHighlightColor()

    ResetImageIndex()

    Resets the image index.

    Declaration
    public void ResetImageIndex()

    ResetMarker()

    Resets the marker.

    Declaration
    public void ResetMarker()

    ResetOffset()

    Resets the offset.

    Declaration
    public void ResetOffset()

    ResetShape()

    Resets the symbol style.

    Declaration
    public void ResetShape()

    ResetSize()

    Resets the size.

    Declaration
    public void ResetSize()

    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 - 2022 Syncfusion Inc. All Rights Reserved