Class LevelElement
Represents the information needed for level element.
Inherited Members
Namespace: Syncfusion.Olap.Reports
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class LevelElement : Element, ICloneable<Element>, ICloneable<LevelElement>
Constructors
LevelElement()
Initializes a new instance of the LevelElement class.
Declaration
public LevelElement()
LevelElement(HierarchyElement)
Initializes a new instance of the LevelElement class.
Declaration
public LevelElement(HierarchyElement parentHierarchy)
Parameters
Type | Name | Description |
---|---|---|
HierarchyElement | parentHierarchy | The parent hierarchy. |
Properties
DimensionName
Gets or sets the caption of dimension.
Declaration
public string DimensionName { get; set; }
Property Value
Type |
---|
System.String |
IncludeAvailableMembers
Gets or sets a value indicating whether to include child members.
Declaration
public bool IncludeAvailableMembers { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MemberElements
Gets or sets the collection of member elements.
Declaration
public MemberElementCollection MemberElements { get; set; }
Property Value
Type | Description |
---|---|
MemberElementCollection | The collection of member elements. |
ParentHierarchy
Gets or sets the parent hierarchy.
Declaration
public HierarchyElement ParentHierarchy { get; set; }
Property Value
Type | Description |
---|---|
HierarchyElement | The parent hierarchy. |
UniqueName
Gets the unique name of the level.
Declaration
public string UniqueName { get; }
Property Value
Type | Description |
---|---|
System.String | The unique name of the level. |
Methods
Add(MemberElement)
Adds the specified member element.
Declaration
public void Add(MemberElement memberElement)
Parameters
Type | Name | Description |
---|---|---|
MemberElement | memberElement | The member element to be added. |
Add(String)
Adds the member element with the specified name.
Declaration
public void Add(string memberName)
Parameters
Type | Name | Description |
---|---|---|
System.String | memberName | The name of the member element. |
Add(String, Int32)
Adds the member element with the specified name.
Declaration
public void Add(string memberName, int level)
Parameters
Type | Name | Description |
---|---|---|
System.String | memberName | The name of the member element. |
System.Int32 | level | The index of the level at which the member element is to be added. |
Add(String, String, Int32)
Adds the member element with the specified caption.
Declaration
public void Add(string memberCaption, string memberUniqueName, int level)
Parameters
Type | Name | Description |
---|---|---|
System.String | memberCaption | The caption of the member element. |
System.String | memberUniqueName | The unique name of the member element. |
System.Int32 | level | The index of the level at which the member element is to be added. |
Add(String, String, String, Int32)
Adds the member element with the specified caption.
Declaration
public void Add(string memberCaption, string parentCaption, string memberUniqueName, int level)
Parameters
Type | Name | Description |
---|---|---|
System.String | memberCaption | The caption of the member element. |
System.String | parentCaption | The caption of the parent node. |
System.String | memberUniqueName | The unique name of the member element. |
System.Int32 | level | The index of the level at which the member element is to be added. |
Clone()
Clones this instance.
Declaration
public LevelElement Clone()
Returns
Type | Description |
---|---|
LevelElement | A copy of this instance. |