Class HierarchyElement
Represents the hierarchy element.
Inherited Members
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 |
|
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. |