Class GenericBinaryTreeWithSummaryCollection<V>
  
  A collection of items maintained in a binary tree
 
  
  
    Inheritance
    System.Object
    GenericBinaryTreeWithSummaryCollection<V>
   
  
    Implements
    System.Collections.Generic.IList<V>
    System.Collections.Generic.ICollection<V>
    System.Collections.Generic.IEnumerable<V>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    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)
    
      System.Object.ToString()
    
 
  
  Assembly: Syncfusion.GridCommon.WinForms.dll
  
  
    public class GenericBinaryTreeWithSummaryCollection<V> : IList<V>, ICollection<V>, IEnumerable<V>, IList, ICollection, IEnumerable, IDisposable, ISupportInitialize, IGenericBinaryTreeWithSummaryCollection<V>, IGenericBinaryTreeCollection<V> where V : ITreeTableEntryHost
   
  Type Parameters
  
  Constructors
  
  
  
  
  
  
  
  Declaration
  
    public GenericBinaryTreeWithSummaryCollection(GenericTreeTableWithSummary<V> genericTree)
   
  Parameters
  
  
  
  
  
  
  
  Declaration
  
    public GenericBinaryTreeWithSummaryCollection(bool sorted)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean | 
        sorted | 
         | 
      
    
  
  Properties
  
  
  
  
  
  
  
  Declaration
  
    public int Count { get; }
   
  Property Value
  
  
  
  
  
  Indicates whether the tree has summaries.
 
  
  Declaration
  
    public bool HasSummaries { get; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public int Identifier { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public bool IsFixedSize { get; }
   
  Property Value
  
  
  
  
  
  Indicates whether BeginInit was called.
 
  
  Declaration
  
    public bool IsInitializing { get; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public bool IsReadOnly { get; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public bool IsSynchronized { get; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public V this[int index] { get; set; }
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        index | 
         | 
      
    
  
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public object SyncRoot { get; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public object Tag { get; set; }
   
  Property Value
  
  Methods
  
  
  
  
  
  
  
  Declaration
  
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | V | 
        item | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    public V AddIfNotExists(object key, V item)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        key | 
         | 
      
      
        | V | 
        item | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
  
  
  
  
  
  
  Declaration
  
  
  
  
  
  
  
  Declaration
  
    public bool Contains(V item)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | V | 
        item | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    public void CopyTo(V[] array, int arrayIndex)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | V[] | 
        array | 
         | 
      
      
        | System.Int32 | 
        arrayIndex | 
         | 
      
    
  
  
  
  
  
  Disposes of the object and releases internal objects.
 
  
  Declaration
  
  
  
  
  
  
  
  Declaration
  
    protected virtual void Dispose(bool disposing)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean | 
        disposing | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
  
  
  
  
  
  
  Declaration
  
    public V FindHighestSmallerOrEqualKey(object key)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        key | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    public V FindKey(object key)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        key | 
         | 
      
    
  
  Returns
  
  
  
  
  
  Returns an enumerator for the entire collection.
 
  
  Declaration
  
    public IEnumerator<V> GetEnumerator()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Collections.Generic.IEnumerator<V> | 
        An Enumerator for the entire collection. 
 | 
      
    
  
  
  
  
  
  
  
  Returns the next item in the collection.
 
  
  Declaration
  
    public V GetNext(V current)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | V | 
        current | 
         | 
      
    
  
  Returns
  
  
  
  
  
  Returns the previous item in the collection.
 
  
  Declaration
  
    public V GetPrevious(V current)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | V | 
        current | 
         | 
      
    
  
  Returns
  
  
  
  
  
  Returns an array of summary objects.
 
  
  Declaration
  
    public ITreeTableSummary[] GetSummaries(ITreeTableEmptySummaryArraySource emptySummaries)
   
  Parameters
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    public int IndexOf(V item)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | V | 
        item | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    public int IndexOfKey(object key)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        key | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    public void Insert(int index, V item)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        index | 
         | 
      
      
        | V | 
        item | 
         | 
      
    
  
  
  
  
  
  Marks all summaries dirty.
 
  
  Declaration
  
    public void InvalidateSummariesTopDown(bool notifySummariesSource)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean | 
        notifySummariesSource | 
        if set to true notify summaries source. 
 | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public void RaiseEnsureInitialized(string member)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        member | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public bool Remove(V item)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | V | 
        item | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    public void RemoveAt(int index)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        index | 
         | 
      
    
  
  Events
  
  
  
  
  
  
  Declaration
  
    public event EventHandler<GenericTreeTableEnsureInitializedEventArgs> EnsureInitialized
   
  Event Type
  
  Explicit Interface Implementations
  
  
  
  
  
  
  
  Declaration
  
    void ICollection<V>.Add(V item)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | V | 
        item | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    void ICollection.CopyTo(Array array, int index)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Array | 
        array | 
         | 
      
      
        | System.Int32 | 
        index | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    IEnumerator IEnumerable.GetEnumerator()
   
  Returns
  
    
      
        | Type | 
        
      
    
    
      
        | System.Collections.IEnumerator | 
        
      
    
  
  
  
  
  
  
  
  Declaration
  
    int IList.Add(object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    bool IList.Contains(object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    object IList.get_Item(int index)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        index | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    int IList.IndexOf(object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    void IList.Insert(int index, object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        index | 
         | 
      
      
        | System.Object | 
        value | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    object IList.this[] { get; set; }
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        index | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    void IList.Remove(object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        value | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    void IList.set_Item(int index, object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        index | 
         | 
      
      
        | System.Object | 
        value | 
         | 
      
    
  
  Implements
  
      System.Collections.Generic.IList<T>
  
  
      System.Collections.Generic.ICollection<T>
  
  
      System.Collections.Generic.IEnumerable<T>
  
  
      System.Collections.IList
  
  
      System.Collections.ICollection
  
  
      System.Collections.IEnumerable
  
  
      System.IDisposable
  
  
  
  
  Extension Methods