Class TreeTableEntry
A leaf in the tree with value and optional sort key.
Inheritance
System.Object
TreeTableEntry
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.WinForms.GridCommon.Collections
Assembly: Syncfusion.GridCommon.WinForms.dll
Syntax
public class TreeTableEntry : TreeTableNode, ITreeTableEntry, ITreeTableNode, IDisposable
Constructors
TreeTableEntry()
Declaration
public TreeTableEntry()
Properties
Value
Gets / sets the value attached to this leaf.
Declaration
public virtual object Value { get; set; }
Property Value
Type |
---|
System.Object |
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
Type | Name | Description |
---|---|---|
TreeTable | tree |
Returns
Type |
---|
ITreeTableBranch |
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
Remarks
See the documentation for the System.ComponentModel.Componentclass and its Dispose member.
GetCount()
Returns the number of child nodes (+1 for the current node).
Declaration
public override int GetCount()
Returns
Type |
---|
System.Int32 |
Overrides
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
GetNodeInfo()
Returns the Debug / text information about the node.
Declaration
public override string GetNodeInfo()
Returns
Type |
---|
System.String |
Overrides
GetSortKey()
Returns the sort key of this leaf.
Declaration
public virtual object GetSortKey()
Returns
Type |
---|
System.Object |
IsEntry()
Indicates whether this is a leaf.
Declaration
public override bool IsEntry()
Returns
Type |
---|
System.Boolean |
Overrides
Implements
System.IDisposable