menu

WinForms

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

    Show / Hide Table of Contents

    Class HierarchyElement

    Represents the hierarchy element.

    Inheritance
    System.Object
    Element
    HierarchyElement
    Implements
    ICloneable<Element>
    ICloneable<HierarchyElement>
    Inherited Members
    Element.ElementName
    Element.Name
    Element.Properties
    Element.RootNodeCaption
    Element.Visible
    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.Olap.Reports
    Assembly: Syncfusion.Olap.Base.dll
    Syntax
    public class HierarchyElement : Element, ICloneable<Element>, ICloneable<HierarchyElement>

    Constructors

    HierarchyElement()

    Initializes a new instance of the HierarchyElement class.

    Declaration
    public HierarchyElement()

    HierarchyElement(DimensionElement)

    Initializes a new instance of the HierarchyElement class.

    Declaration
    public HierarchyElement(DimensionElement parentDimensionElement)
    Parameters
    Type Name Description
    DimensionElement parentDimensionElement

    The parent dimension element.

    Properties

    DefaultLevel

    Gets or sets the state of default level.

    Declaration
    public DefaultLevel DefaultLevel { get; set; }
    Property Value
    Type
    DefaultLevel

    IsAttributeHierarchy

    Gets or sets a value indicating whether this instance is attribute hierarchy.

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

    true if this instance is attribute hierarchy; otherwise, false.

    LevelElements

    Gets or sets the collection of level elements.

    Declaration
    public LevelElementCollection LevelElements { get; set; }
    Property Value
    Type Description
    LevelElementCollection

    The collection of level elements.

    SortOrder

    Gets or sets the state of sort order.

    Declaration
    public LableSortOrder SortOrder { get; set; }
    Property Value
    Type
    LableSortOrder

    UniqueName

    Gets the unique name of the hierarchy element.

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

    The unique name of the hierarchy element.

    Methods

    Add(String)

    Adds the level with the specified name.

    Declaration
    public bool Add(string levelName)
    Parameters
    Type Name Description
    System.String levelName

    The name of the level.

    Returns
    Type Description
    System.Boolean

    true if successfully added; otherwise false.

    Clone()

    Clones this instance.

    Declaration
    public HierarchyElement Clone()
    Returns
    Type Description
    HierarchyElement

    A copy of this instance.

    Implements

    ICloneable<T>
    ICloneable<T>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved