Class HierarchyElement
Represents the hierarchy element.
Inherited Members
Namespace: Syncfusion.Olap.UWP.Reports
Assembly: Syncfusion.Olap.UWP.dll
Syntax
public class HierarchyElement : Element
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. |
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. |