TreeTableWithSummary Class
A balanced tree with TreeTableWithSummaryEntry entries.
Inheritance
System.Object
    
    
    
    TreeTableWithSummary
      
  Implements
System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.IDisposable
  Inherited Members
Namespace: Syncfusion.Windows.Forms.Collections
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class TreeTableWithSummary : TreeTable, ITreeTable, IList, ICollection, IEnumerable, IDisposable
  Constructors
TreeTableWithSummary(Boolean)
Initializes a new TreeTableWithSummary.
Declaration
public TreeTableWithSummary(bool sorted)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | sorted | 
Properties
HasSummaries
Indicates whether the tree has summaries.
Declaration
public bool HasSummaries { get; }
  Property Value
| Type | 
|---|
| System.Boolean | 
Item[Int32]
Gets / sets a TreeTableWithSummaryEntry.
Declaration
public TreeTableWithSummaryEntry this[int index] { get; set; }
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | index | 
Property Value
| Type | 
|---|
| TreeTableWithSummaryEntry | 
Methods
Add(TreeTableWithSummaryEntry)
Appends an object.
Declaration
public int Add(TreeTableWithSummaryEntry value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TreeTableWithSummaryEntry | value | 
Returns
| Type | 
|---|
| System.Int32 | 
Contains(TreeTableWithSummaryEntry)
Indicates whether an object belongs to the tree.
Declaration
public bool Contains(TreeTableWithSummaryEntry value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TreeTableWithSummaryEntry | value | 
Returns
| Type | 
|---|
| System.Boolean | 
CopyTo(TreeTableWithSummaryEntry[], Int32)
Copies the elements of this tree to an array.
Declaration
public void CopyTo(TreeTableWithSummaryEntry[] array, int index)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TreeTableWithSummaryEntry[] | array | |
| System.Int32 | index | 
GetEnumerator()
Returns a strongly typed enumerator.
Declaration
public TreeTableWithSummaryEnumerator GetEnumerator()
  Returns
| Type | 
|---|
| TreeTableWithSummaryEnumerator | 
GetSummaries(ITreeTableEmptySummaryArraySource)
Returns an array of summary objects.
Declaration
public ITreeTableSummary[] GetSummaries(ITreeTableEmptySummaryArraySource emptySummaries)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ITreeTableEmptySummaryArraySource | emptySummaries | 
Returns
| Type | 
|---|
| ITreeTableSummary[] | 
IndexOf(TreeTableWithSummaryEntry)
Returns the index of an object in the tree.
Declaration
public int IndexOf(TreeTableWithSummaryEntry value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TreeTableWithSummaryEntry | value | 
Returns
| Type | 
|---|
| System.Int32 | 
Insert(Int32, TreeTableWithSummaryEntry)
Inserts a TreeTableWithSummaryEntry object at the specified index.
Declaration
public void Insert(int index, TreeTableWithSummaryEntry value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | index | |
| TreeTableWithSummaryEntry | value | 
InvalidateSummariesTopDown(Boolean)
Marks all summaries dirty.
Declaration
public void InvalidateSummariesTopDown(bool notifySummariesSource)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | notifySummariesSource | if set to   | 
      
Remove(TreeTableWithSummaryEntry)
Removes an object from the tree.
Declaration
public bool Remove(TreeTableWithSummaryEntry value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TreeTableWithSummaryEntry | value | 
Returns
| Type | 
|---|
| System.Boolean | 
Implements
      System.Collections.IList
  
  
      System.Collections.ICollection
  
  
      System.Collections.IEnumerable
  
  
      System.IDisposable