WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartBaseStylesMap - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartBaseStylesMap

    This class acts as a repository for common styles (base styles). Such styles are registered and held in this repository. This enables them to be referenced by their registered names. When changes are made to registered base styles, they are propagated through the system.

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

    Constructors

    ChartBaseStylesMap()

    Initializes a new instance of the ChartBaseStylesMap class.

    Declaration
    public ChartBaseStylesMap()

    Properties

    Item[String]

    Returns the ChartBaseStyleInfo object registered with the specified name.

    Declaration
    public ChartBaseStyleInfo this[string name] { get; }
    Parameters
    Type Name Description
    System.String name
    Property Value
    Type Description
    ChartBaseStyleInfo

    Methods

    Clear()

    Remove references to all registered styles.

    Declaration
    public void Clear()

    Lookup(String)

    Look ups and returns the base style with the specified name.

    Declaration
    public ChartBaseStyleInfo Lookup(string name)
    Parameters
    Type Name Description
    System.String name

    Name to look for.

    Returns
    Type Description
    ChartBaseStyleInfo

    A base style if look up is successful; NULL otherwise.

    Register(ChartBaseStyleInfo)

    Registers the specified base style with the styles map.

    Declaration
    public void Register(ChartBaseStyleInfo style)
    Parameters
    Type Name Description
    ChartBaseStyleInfo style

    The style that is to be registered. The Name property will be used as the registration name.

    Remove(String)

    Removes the base style registered under the specified name from this repository.

    Declaration
    public void Remove(string name)
    Parameters
    Type Name Description
    System.String name

    Name of base style to remove.

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