Class TreeTableWithCounterBranch
A tree table branch with a counter.
Inheritance
System.Object
TreeTableWithCounterBranch
Implements
System.IDisposable
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)
Namespace: Syncfusion.Collections.BinaryTree
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class TreeTableWithCounterBranch : TreeTableWithSummaryBranch, IDisposable, ITreeTableBranch, ITreeTableCounterNode, ITreeTableSummaryNode, ITreeTableNode
Constructors
TreeTableWithCounterBranch(TreeTable)
Initializes a new TreeTableWithCounterBranch.
Declaration
public TreeTableWithCounterBranch(TreeTable tree)
Parameters
Type | Name | Description |
---|---|---|
TreeTable | tree |
Properties
Parent
Gets / sets the parent branch.
Declaration
public TreeTableWithCounterBranch Parent { get; set; }
Property Value
TreeTableWithCounter
Returns the tree this branch belongs to.
Declaration
public TreeTableWithCounter TreeTableWithCounter { get; }
Property Value
Type |
---|
TreeTableWithCounter |
Methods
GetCounterPosition()
Returns the cumulative position of this node.
Declaration
public ITreeTableCounter GetCounterPosition()
Returns
Type |
---|
ITreeTableCounter |
GetCounterPositionOfChild(ITreeTableNode)
Returns the cumulative counter position object of a child node with all counter values.
Declaration
public ITreeTableCounter GetCounterPositionOfChild(ITreeTableNode node)
Parameters
Type | Name | Description |
---|---|---|
ITreeTableNode | node | The node. |
Returns
Type |
---|
ITreeTableCounter |
GetCounterTotal()
Returns the total of this node's counter and child nodes (cached).
Declaration
public ITreeTableCounter GetCounterTotal()
Returns
Type |
---|
ITreeTableCounter |
GetLeftC()
Returns the left branch node cast to ITreeTableCounterNode.
Declaration
public ITreeTableCounterNode GetLeftC()
Returns
GetRightC()
Returns the right branch node cast to ITreeTableCounterNode.
Declaration
public ITreeTableCounterNode GetRightC()
Returns
InvalidateCounterBottomUp(Boolean)
Invalidates the counter bottom up.
Declaration
public override void InvalidateCounterBottomUp(bool notifyCounterSource)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | notifyCounterSource | if set to |
Overrides
InvalidateCounterTopDown(Boolean)
Marks all counters dirty in this node and child nodes.
Declaration
public void InvalidateCounterTopDown(bool notifyCounterSource)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | notifyCounterSource | if set to |
Implements
System.IDisposable