Class TreeTableWithSummaryEntry
A tree leaf with value and summary information.
Inheritance
System.Object
TreeTableWithSummaryEntry
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 TreeTableWithSummaryEntry : TreeTableEntry, ITreeTableEntry, IDisposable, ITreeTableSummaryNode, ITreeTableNode
Constructors
TreeTableWithSummaryEntry()
Declaration
public TreeTableWithSummaryEntry()
Properties
HasSummaries
Indicates whether the node has summaries.
Declaration
public bool HasSummaries { get; }
Property Value
Type |
---|
System.Boolean |
Parent
Gets / sets the parent branch.
Declaration
public TreeTableWithSummaryBranch Parent { get; set; }
Property Value
Type |
---|
TreeTableWithSummaryBranch |
TreeTableWithSummary
Returns the tree this leaf belongs to.
Declaration
public TreeTableWithSummary TreeTableWithSummary { get; }
Property Value
Type |
---|
TreeTableWithSummary |
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
GetSummaries(ITreeTableEmptySummaryArraySource)
Returns an array of summary objects.
Declaration
public ITreeTableSummary[] GetSummaries(ITreeTableEmptySummaryArraySource emptySummaries)
Parameters
Type | Name | Description |
---|---|---|
ITreeTableEmptySummaryArraySource | emptySummaries | The empty summaries. |
Returns
Type |
---|
ITreeTableSummary[] |
GetSummaryArraySource()
Returns the value as ITreeTableSummaryArraySource.
Declaration
public virtual ITreeTableSummaryArraySource GetSummaryArraySource()
Returns
Type |
---|
ITreeTableSummaryArraySource |
InvalidateSummariesBottomUp(Boolean)
Walks up parent branches and reset summaries.
Declaration
public override void InvalidateSummariesBottomUp(bool notifyParentRecordSource)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | notifyParentRecordSource |
Overrides
InvalidateSummariesTopDown(Boolean)
Marks all summaries dirty in this node and child nodes.
Declaration
public void InvalidateSummariesTopDown(bool notifySummaryArraySource)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | notifySummaryArraySource | if set to |
OnGetSummaries(ITreeTableEmptySummaryArraySource)
Called from GetSummaries(ITreeTableEmptySummaryArraySource) when called the first time after summaries were invalidated.
Declaration
public virtual ITreeTableSummary[] OnGetSummaries(ITreeTableEmptySummaryArraySource emptySummaries)
Parameters
Type | Name | Description |
---|---|---|
ITreeTableEmptySummaryArraySource | emptySummaries | The empty summaries. |
Returns
Type |
---|
ITreeTableSummary[] |
Implements
System.IDisposable