WinForms

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

    Show / Hide Table of Contents

    Class ChartCalloutInfo

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

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

    Constructors

    ChartCalloutInfo()

    Initializes a new instance of the ChartCalloutInfo class.

    Declaration
    public ChartCalloutInfo()

    ChartCalloutInfo(StyleInfoSubObjectIdentity)

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

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

    A StyleInfoSubObjectIdentity that holds the identity for this ChartCalloutInfo.

    ChartCalloutInfo(StyleInfoSubObjectIdentity, ChartCalloutInfoStore)

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

    Declaration
    public ChartCalloutInfo(StyleInfoSubObjectIdentity identity, ChartCalloutInfoStore store)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A StyleInfoSubObjectIdentity that holds the identity for this ChartCalloutInfo.

    A ChartCalloutInfoStore that holds data for this ChartCalloutInfo. All changes made in this style object will be saved in the ChartCalloutInfoStore object.
    ChartCalloutInfoStore 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 callout.

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

    The color.

    Default

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

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

    DisplayTextAndFormat

    Gets or sets the textFormat that is to be associated with a ChartPoint. This text will be rendered with prefix or sufix text with the format of {0},{1},{2} is set to True.

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

    The text.

    Enable

    Gets or sets the boolean value that is to be used with the callout.

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

    The Enable.

    Font

    Gets or sets the font that is to be associated with a ChartPoint. This font will be rendered at a position near the point if is set to True.

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

    The font.

    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 callout's color has been initialized.

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

    true if this instance has color; otherwise, false.

    HasDisplayTextAndFormat

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

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

    true if this instance has textFormat; otherwise, false.

    HasEnable

    Gets a value indicating whether the callout feature is enabled.

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

    true if this instance has boolean; otherwise, false.

    HasFont

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

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

    true if this instance has text; otherwise, false.

    HasOffsetX

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

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

    true if this instance has OffsetX; otherwise, false.

    HasOffsetY

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

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

    true if this instance has OffsetY; otherwise, false.

    HasPosition

    Gets a value indicating whether this instance has text Position.

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

    true if this instance has text orientation; otherwise, false.

    HasTextColor

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

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

    true if this instance has color; otherwise, false.

    HasTextOffset

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

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

    true if this instance has TextOffset; otherwise, false.

    HiddenX

    This is associated with the label position placement on mouse dragging.

    Declaration
    public float HiddenX { get; set; }
    Property Value
    Type Description
    System.Single

    duplicate value.

    HiddenY

    This is associated with the label position placement on mouse dragging.

    Declaration
    public float HiddenY { get; set; }
    Property Value
    Type Description
    System.Single

    duplicate value.

    IsDragged

    This is associated with the label placement on mouse dragging.

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

    duplicate value.

    OffsetX

    This is associated with a Text property and used for internal purpose. OffsetX offset for text.

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

    OffsetX value.

    OffsetY

    This is associated with a Text property and used for internal purpose. OffsetY offset for text.

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

    OffsetY value.

    Position

    Gets or sets the Position of text that is to be displayed at this point.

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

    Text

    This is associated with a Text property and used for internal purpose. Text duplicate for displaytextandformat.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    duplicate value.

    TextColor

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

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

    The text color.

    TextOffset

    This is associated with a Text property and used for internal purpose. TextOffset offset for text.

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

    TextOffset value.

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

    ResetBorder()

    Resets line information.

    Declaration
    public void ResetBorder()

    ResetColor()

    Resets the callout's color.

    Declaration
    public void ResetColor()

    ResetDisplayTextAndFormat()

    Resets textFormat information.

    Declaration
    public void ResetDisplayTextAndFormat()

    ResetEnable()

    Resets enable calloutr.

    Declaration
    public void ResetEnable()

    ResetFont()

    Resets Font information.

    Declaration
    public void ResetFont()

    ResetOffsetX()

    Resets OffsetX information.

    Declaration
    public void ResetOffsetX()

    ResetOffsetY()

    Resets OffsetY information.

    Declaration
    public void ResetOffsetY()

    ResetTextColor()

    Resets the callout's text color.

    Declaration
    public void ResetTextColor()

    ResetTextOffset()

    Resets TextOffset information.

    Declaration
    public void ResetTextOffset()

    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