Class MetaTreeNode
Represents the wrapper class on top of OLAP object model which contains information about Cube, Measure, Dimension, Hierarchies, Level and Members in an Hierarchical format.
Inheritance
Implements
Namespace: Syncfusion.Olap.UWP.Data
Assembly: Syncfusion.Olap.UWP.dll
Syntax
public class MetaTreeNode : Object, INotifyPropertyChanged
Remarks
Each node in the meta tree will contain a reference to the unwrapped object model of its parent in the property collection member.
Constructors
MetaTreeNode()
Initializes a new instance of the MetaTreeNode class.
Declaration
public MetaTreeNode()
MetaTreeNode(String, String, String)
Initializes a new instance of the MetaTreeNode class.
Declaration
public MetaTreeNode(string name, string caption, string description)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the meta tree node. |
System.String | caption | The caption of the meta tree node. |
System.String | description | The description of the meta tree node. |
Properties
Caption
Gets or sets the caption of the meta tree node.
Declaration
public string Caption { get; set; }
Property Value
Type | Description |
---|---|
System.String | The caption of the meta tree node. |
CheckedState
Gets or sets the checked state.
Declaration
public int CheckedState { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The checked state. |
ChildNodes
Gets or sets the collection of child nodes.
Declaration
public MetaTreeNodeCollection ChildNodes { get; set; }
Property Value
Type | Description |
---|---|
MetaTreeNodeCollection | The collection of child nodes. |
ClickCommand
Gets or sets the command to execute while clicking a node.
Declaration
public PivotCommand ClickCommand { get; set; }
Property Value
Type |
---|
PivotCommand |
Description
Gets or sets the description of the meta tree node.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The description of the meta tree node.. |
DisableUpdateReport
Gets or sets a value indicating whether to disable the update of report.
Declaration
public bool DisableUpdateReport { get; set; }
Property Value
Type |
---|
System.Boolean |
FontWeight
Gets or sets the font style as bold or normal.
Declaration
public FontWeight FontWeight { get; set; }
Property Value
Type |
---|
Windows.UI.Text.FontWeight |
HasChildMembers
Gets or sets a value indicating whether this instance has child members.
Declaration
public bool HasChildMembers { get; set; }
Property Value
Type |
---|
System.Boolean |
HasValidChildren
Gets a value indicating whether this instance has valid children.
Declaration
public bool HasValidChildren { get; }
Property Value
Type |
---|
System.Boolean |
IsFilter
Get or set a value indicating whether the dimension is in slicer axis or not.
Declaration
public bool IsFilter { get; set; }
Property Value
Type |
---|
System.Boolean |
IsSelected
Gets or sets a value indicating whether the meta tree node is selected.
Declaration
public Nullable<bool> IsSelected { get; set; }
Property Value
Type |
---|
System.Nullable<System.Boolean> |
LevelDepth
Gets or sets the level depth of the meta tree node.
Declaration
public int LevelDepth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The level depth of the meta tree node. |
Name
Gets or sets the name of the meta tree node.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the meta tree node. |
NodeCheckedType
Gets or sets the type of the node to identify how it is checked.
Declaration
public MetaTreeNodeCheckedType NodeCheckedType { get; set; }
Property Value
Type | Description |
---|---|
MetaTreeNodeCheckedType | The type of the node to identify how it is checked. |
NodeType
Gets or sets the type of the meta tree node.
Declaration
public MetaTreeNodeType NodeType { get; set; }
Property Value
Type | Description |
---|---|
MetaTreeNodeType | The type of the meta tree node. |
ParentNode
Gets or sets the parent node.
Declaration
public MetaTreeNode ParentNode { get; set; }
Property Value
Type | Description |
---|---|
MetaTreeNode | The parent node. |
Properties
Gets or sets the collection of properties.
Declaration
public PropertyCollection Properties { get; set; }
Property Value
Type | Description |
---|---|
PropertyCollection | The collection of properties. |
UniqueName
Gets or sets the unique name of the meta tree node.
Declaration
public string UniqueName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The unique name of the meta tree node. |
Methods
AcceptIsSelectedChanges(Boolean)
Accepts the changes that are done based on the selection of meta tree node.
Declaration
public void AcceptIsSelectedChanges(bool updateParent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | updateParent | Indicates whether to update the parent node. |
Clone()
Clones this instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object | A copy of this instance. |
Remarks
ParentNode property will not be cloned, because cloning of current object cannot hold the reference to the parent object.
GetRootNode()
Gets the root node.
Declaration
public MetaTreeNode GetRootNode()
Returns
Type | Description |
---|---|
MetaTreeNode | The root node. |
RevertIsSelectedChanged(Boolean)
Reverts the changes that are done based on the selection of meta tree node.
Declaration
public void RevertIsSelectedChanged(bool updateParent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | updateParent | Indicates whether to update the parent node. |
SetIsChecked(Nullable<Boolean>, Boolean, Boolean)
Updates the value of IsSelected property in meta tree node.
Declaration
public void SetIsChecked(Nullable<bool> value, bool updateChildren, bool updateParent)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Boolean> | value | The value that denotes whether the node gets selected or not. |
System.Boolean | updateChildren | Indicates whether to update the child nodes. |
System.Boolean | updateParent | Indicates whether to update the parent node. |
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |