Class MetaTreeNodeCollection
Represents the collection of meta tree nodes.
Inheritance
Namespace: Syncfusion.Olap.UWP.Data
Assembly: Syncfusion.Olap.UWP.dll
Syntax
public class MetaTreeNodeCollection : ObservableCollection<MetaTreeNode>
Constructors
MetaTreeNodeCollection(MetaTreeNode)
Initializes a new instance of the MetaTreeNodeCollection class.
Declaration
public MetaTreeNodeCollection(MetaTreeNode parentNode)
Parameters
Type | Name | Description |
---|---|---|
MetaTreeNode | parentNode | The parent node. |
Properties
Item[String]
Gets the MetaTreeNode with the specified name.
Declaration
public MetaTreeNode this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The index |
Property Value
Type | Description |
---|---|
MetaTreeNode | 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. |
Add(MetaTreeNode)
Adds the specified meta tree node.
Declaration
public void Add(MetaTreeNode metaTreeNode)
Parameters
Type | Name | Description |
---|---|---|
MetaTreeNode | metaTreeNode | The meta tree node to be added. |
FindByUniqueName(String)
Finds the meta tree node by its unique name.
Declaration
public MetaTreeNode FindByUniqueName(string uniqueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | uniqueName | The unique name. |
Returns
Type | Description |
---|---|
MetaTreeNode | The meta tree node. |
InsertItem(Int32, MetaTreeNode)
Inserts an element into the System.Collections.ObjectModel.Collection<> at the specified index.
Declaration
protected override void InsertItem(int index, MetaTreeNode item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which item should be inserted. |
MetaTreeNode | item | The object to insert. The value can be null for reference types. |
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. |
SetItem(Int32, MetaTreeNode)
Replaces the element at the specified index.
Declaration
protected override void SetItem(int index, MetaTreeNode item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to replace. |
MetaTreeNode | item | The new value for the element at the specified index. The value can be null for reference types. |