Interface ITreeTableBranch
A branch with left and right leaves or branches.
Inherited Members
Namespace: Syncfusion.Collections.BinaryTree
Assembly: Syncfusion.Shared.Base.dll
Syntax
public interface ITreeTableBranch : ITreeTableNode
Properties
Color
Gets / sets the Red-Black tree color.
Declaration
TreeTableNodeColor Color { get; set; }
Property Value
Type |
---|
TreeTableNodeColor |
Left
Gets / sets the left node.
Declaration
ITreeTableNode Left { get; set; }
Property Value
Type |
---|
ITreeTableNode |
Right
Gets / sets the right node.
Declaration
ITreeTableNode Right { get; set; }
Property Value
Type |
---|
ITreeTableNode |
Methods
GetEntryPositionOfChild(ITreeTableNode)
Returns the position in the tree table of the specified child node.
Declaration
int GetEntryPositionOfChild(ITreeTableNode node)
Parameters
Type | Name | Description |
---|---|---|
ITreeTableNode | node |
Returns
Type |
---|
System.Int32 |
GetLeftB()
Returns the left branch cast to ITreeTableBranch.
Declaration
ITreeTableBranch GetLeftB()
Returns
Type |
---|
ITreeTableBranch |
GetRightB()
Returns the right branch cast to ITreeTableBranch.
Declaration
ITreeTableBranch GetRightB()
Returns
Type |
---|
ITreeTableBranch |
InvalidateCountBottomUp()
Sets this object's child node Count dirty and marks parent nodes' child node Count dirty.
Declaration
void InvalidateCountBottomUp()
InvalidateCountTopDown()
Sets this object's child node Count dirty and steps through all child branches and marks their child node Count dirty.
Declaration
void InvalidateCountTopDown()
InvalidateMinimumBottomUp()
Sets this object's child node Minimum dirty and marks parent nodes' child node Minimum dirty.
Declaration
void InvalidateMinimumBottomUp()
InvalidateMinimumTopDown()
Sets this object's child node Minimum dirty and steps through all child branches and marks their child node Minimum dirty.
Declaration
void InvalidateMinimumTopDown()
SetLeft(ITreeTableNode, Boolean, Boolean)
Sets the left node.
Declaration
void SetLeft(ITreeTableNode value, bool inAddMode, bool isSortedTree)
Parameters
Type | Name | Description |
---|---|---|
ITreeTableNode | value | The new node. |
System.Boolean | inAddMode | Indicates whether tree-table is in add-mode. |
System.Boolean | isSortedTree | Indicates whether tree-table is sorted. |
Remarks
Call this method instead of simply setting Left property if you want to avoid the round-trip call to check whether the tree is in add-mode or if tree-table is sorted.
SetRight(ITreeTableNode, Boolean)
Sets the right node.
Declaration
void SetRight(ITreeTableNode value, bool inAddMode)
Parameters
Type | Name | Description |
---|---|---|
ITreeTableNode | value | The new node. |
System.Boolean | inAddMode | Specifies if tree-table is in add-mode. |
Remarks
Call this method instead of simply setting Right property if you want to avoid the round-trip call to check whether the tree is in add-mode or if tree-table is sorted.