menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeTableBranch - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeTableBranch

    A branch in a tree.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    TreeTableNode
    TreeTableBranch
    TreeTableWithSummaryBranch
    Implements
    System.IDisposable
    ITreeTableBranch
    ITreeTableNode
    Inherited Members
    Disposable.Finalize()
    NonFinalizeDisposable.Dispose()
    NonFinalizeDisposable.Dispose(Boolean)
    TreeTableNode.GetLevel()
    TreeTableNode.GetNodeInfo()
    TreeTableNode.GetPosition()
    TreeTableNode.InvalidateCounterBottomUp(Boolean)
    TreeTableNode.InvalidateSummariesBottomUp(Boolean)
    TreeTableNode.IsEmpty()
    TreeTableNode.Parent
    TreeTableNode.ToString()
    TreeTableNode.Tree
    Namespace: Syncfusion.UI.Xaml.Collections
    Assembly: Syncfusion.SfGrid.UWP.dll
    Syntax
    public class TreeTableBranch : TreeTableNode, IDisposable, ITreeTableBranch, ITreeTableNode

    Constructors

    TreeTableBranch(TreeTable)

    Initializes a new branch.

    Declaration
    public TreeTableBranch(TreeTable tree)
    Parameters
    Type Name Description
    TreeTable tree

    Properties

    Color

    Gets / sets Red-Black tree algorithm helper.

    Declaration
    public TreeTableNodeColor Color { get; set; }
    Property Value
    Type
    TreeTableNodeColor

    Left

    Gets / sets the left leaf or branch.

    Declaration
    public ITreeTableNode Left { get; set; }
    Property Value
    Type
    ITreeTableNode

    Right

    Gets / sets the right tree or branch.

    Declaration
    public ITreeTableNode Right { get; set; }
    Property Value
    Type
    ITreeTableNode

    Methods

    GetCount()

    Returns the number of child nodes (+1 for the current node).

    Declaration
    public override int GetCount()
    Returns
    Type
    System.Int32
    Overrides
    TreeTableNode.GetCount()

    GetEntryPositionOfChild(ITreeTableNode)

    Returns the position in the tree table of the specific child node.

    Declaration
    public virtual int GetEntryPositionOfChild(ITreeTableNode node)
    Parameters
    Type Name Description
    ITreeTableNode node
    Returns
    Type
    System.Int32

    GetLeftB()

    Returns the left node cast to ITreeTableBranch.

    Declaration
    public ITreeTableBranch GetLeftB()
    Returns
    Type
    ITreeTableBranch

    GetMinimum()

    Returns the minimum value (of the most-left leaf) of the branch in a sorted tree.

    Declaration
    public override object GetMinimum()
    Returns
    Type
    System.Object
    Overrides
    TreeTableNode.GetMinimum()

    GetRightB()

    Returns the right node cast to ITreeTableBranch.

    Declaration
    public ITreeTableBranch GetRightB()
    Returns
    Type
    ITreeTableBranch

    InvalidateCountBottomUp()

    Sets this object's child node count dirty and walks up parent nodes and marks their child node count dirty.

    Declaration
    public virtual 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
    public virtual void InvalidateCountTopDown()

    InvalidateMinimumBottomUp()

    Sets this object's child node minimum dirty and marks parent nodes' child node minimum dirty.

    Declaration
    public virtual 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
    public virtual void InvalidateMinimumTopDown()

    IsEntry()

    Indicates whether this is a leaf.

    Declaration
    public override bool IsEntry()
    Returns
    Type
    System.Boolean
    Overrides
    TreeTableNode.IsEntry()

    SetLeft(ITreeTableNode, Boolean, Boolean)

    Sets the left node.

    Declaration
    public virtual void SetLeft(ITreeTableNode value, bool inAddMode, bool isSorted)
    Parameters
    Type Name Description
    ITreeTableNode value

    The new node.

    System.Boolean inAddMode

    Indicates whether tree-table is in add-mode.

    System.Boolean isSorted

    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
    public virtual void SetRight(ITreeTableNode value, bool inAddMode)
    Parameters
    Type Name Description
    ITreeTableNode value

    The new node.

    System.Boolean inAddMode

    Indicates whether 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.

    Implements

    System.IDisposable
    ITreeTableBranch
    ITreeTableNode

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved