Class GenericTreeTableEntry<V>
A leaf in the tree with value and optional sort key.
Inheritance
System.Object
GenericTreeTableEntry<V>
Implements
System.IDisposable
Assembly: Syncfusion.GridCommon.WinUI.dll
Syntax
public class GenericTreeTableEntry<V> : TreeTableNode, ITreeTableEntry, ITreeTableNode, IDisposable
Type Parameters
Constructors
GenericTreeTableEntry()
Declaration
public GenericTreeTableEntry()
GenericTreeTableEntry(GenericTreeTable<V>, V)
Declaration
public GenericTreeTableEntry(GenericTreeTable<V> tree, V value)
Parameters
GenericTreeTableEntry(TreeTable, V)
Declaration
public GenericTreeTableEntry(TreeTable tree, V value)
Parameters
Properties
Value
Gets or sets the value attached to this leaf.
Declaration
public virtual V Value { get; set; }
Property Value
Methods
CreateBranch(TreeTable)
Creates a branch that can hold this entry when new leaves are inserted into the tree.
Declaration
public virtual ITreeTableBranch CreateBranch(TreeTable tree)
Parameters
Returns
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
true to release both managed and unmanaged resources; false to release only unmanaged resources.
|
Overrides
GetCount()
Returns the number of child nodes (+1 for the current node).
Declaration
public override int GetCount()
Returns
Overrides
GetMinimum()
Returns the minimum value (of the most-left leaf) of the branch in a sorted tree.
Declaration
public override object GetMinimum()
Returns
Overrides
GetNodeInfo()
Returns the Debug / text information about the node.
Declaration
public override string GetNodeInfo()
Returns
Overrides
GetSortKey()
Returns the sort key of this leaf.
Declaration
public virtual V GetSortKey()
Returns
IsEntry()
Indicates whether this is a leaf.
Declaration
public override bool IsEntry()
Returns
Overrides
Explicit Interface Implementations
ITreeTableEntry.GetSortKey()
Declaration
object ITreeTableEntry.GetSortKey()
Returns
ITreeTableEntry.Value
Declaration
object ITreeTableEntry.Value { get; set; }
Returns
Implements
System.IDisposable