Class GenericTreeTableEntry<V>
A leaf in the tree with value and optional sort key.
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.Generic
Assembly: Syncfusion.GridCommon.WinForms.dll
Syntax
public class GenericTreeTableEntry<V> : TreeTableNode, ITreeTableEntry, ITreeTableNode, IDisposable
Type Parameters
Name |
---|
V |
Constructors
GenericTreeTableEntry()
Declaration
public GenericTreeTableEntry()
GenericTreeTableEntry(GenericTreeTable<V>, V)
Declaration
public GenericTreeTableEntry(GenericTreeTable<V> tree, V value)
Parameters
Type | Name | Description |
---|---|---|
GenericTreeTable<V> | tree | |
V | value |
GenericTreeTableEntry(TreeTable, V)
Declaration
public GenericTreeTableEntry(TreeTable tree, V value)
Parameters
Type | Name | Description |
---|---|---|
TreeTable | tree | |
V | value |
Properties
Value
Gets or sets the value attached to this leaf.
Declaration
public virtual V Value { get; set; }
Property Value
Type |
---|
V |
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.Component class 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 V GetSortKey()
Returns
Type |
---|
V |
IsEntry()
Indicates whether this is a leaf.
Declaration
public override bool IsEntry()
Returns
Type |
---|
System.Boolean |
Overrides
Explicit Interface Implementations
ITreeTableEntry.GetSortKey()
Declaration
object ITreeTableEntry.GetSortKey()
Returns
Type |
---|
System.Object |
ITreeTableEntry.Value
Declaration
object ITreeTableEntry.Value { get; set; }
Returns
Type |
---|
System.Object |
Implements
System.IDisposable