Class TreeTableWithCounterEntry
A tree leaf with value, sort key and counter information.
Inheritance
System.Object
TreeTableWithCounterEntry
Implements
System.IDisposable
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 TreeTableWithCounterEntry : TreeTableWithSummaryEntry, ITreeTableEntry, IDisposable, ITreeTableCounterNode, ITreeTableSummaryNode, ITreeTableNode
Constructors
TreeTableWithCounterEntry()
Declaration
public TreeTableWithCounterEntry()
Properties
Parent
Gets / sets the parent branch.
Declaration
public TreeTableWithCounterBranch Parent { get; set; }
Property Value
Type |
---|
TreeTableWithCounterBranch |
TreeTableWithCounter
Returns the tree this leaf belongs to.
Declaration
public TreeTableWithCounter TreeTableWithCounter { get; }
Property Value
Type |
---|
TreeTableWithCounter |
Methods
CreateBranch(TreeTable)
Creates a branch that can hold this entry when new leaves are inserted into the tree.
Declaration
public override ITreeTableBranch CreateBranch(TreeTable tree)
Parameters
Type | Name | Description |
---|---|---|
TreeTable | tree |
Returns
Type |
---|
ITreeTableBranch |
Overrides
GetCounterPosition()
Returns the cumulative position of this node.
Declaration
public virtual ITreeTableCounter GetCounterPosition()
Returns
Type |
---|
ITreeTableCounter |
GetCounterTotal()
Returns the total of this node's counter and child nodes.
Declaration
public ITreeTableCounter GetCounterTotal()
Returns
Type |
---|
ITreeTableCounter |
InvalidateCounter()
Reset cached counter.
Declaration
public virtual void InvalidateCounter()
InvalidateCounterBottomUp(Boolean)
Invalidates the counter bottom up.
Declaration
public override void InvalidateCounterBottomUp(bool notifyCounterSource)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | notifyCounterSource | if set to |
Overrides
InvalidateCounterTopDown(Boolean)
Marks all summaries dirty in this node and child nodes.
Declaration
public void InvalidateCounterTopDown(bool notifyCounterSource)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | notifyCounterSource | if set to |
IsCounterDirty()
Indicates whether the counter was set dirty.
Declaration
public bool IsCounterDirty()
Returns
Type | Description |
---|---|
System.Boolean | True if dirty; False otherwise. |
Implements
System.IDisposable