Class GenericBinaryTreeCollection<V>
  
  
  
  
    Inheritance
    System.Object
    GenericBinaryTreeCollection<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
    
    
    System.Collections.Specialized.INotifyCollectionChanged
   
  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 GenericBinaryTreeCollection<V> : IList<V>, ICollection<V>, IEnumerable<V>, IList, ICollection, IEnumerable, IDisposable, ISupportInitialize, IGenericBinaryTreeCollection<V>, INotifyCollectionChanged where V : ITreeTableEntryHost
   
  Type Parameters
  
  Constructors
  
  
  
  
  
  
  
  Declaration
  
    public GenericBinaryTreeCollection(GenericTreeTable<V> genericTree)
   
  Parameters
  
  
  
  
  
  
  
  Declaration
  
    public GenericBinaryTreeCollection(bool sorted)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean | 
        sorted | 
         | 
      
    
  
  Properties
  
  
  
  
  
  
  
  Declaration
  
    public int Count { 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 IsInSuspend { 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 | 
         | 
      
    
  
  
  
  
  
  
  
  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
  
  
  
  
  
  
  
  Declaration
  
    public IEnumerator<V> GetEnumerator()
   
  Returns
  
    
      
        | Type | 
        
      
    
    
      
        | System.Collections.Generic.IEnumerator<V> | 
        
      
    
  
  
  
  
  
  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
  
  
  
  
  
  
  
  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 | 
         | 
      
    
  
  
  
  
  LookupOrCreateEntry(V)
  
  
  Declaration
  
    protected GenericTreeTableEntry<V> LookupOrCreateEntry(V item)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | V | 
        item | 
         | 
      
    
  
  Returns
  
  
  
  
  
  
  
  Declaration
  
    protected void RaiseCollectionChanged(NotifyCollectionChangedEventArgs args)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Collections.Specialized.NotifyCollectionChangedEventArgs | 
        args | 
         | 
      
    
  
  
  
  
  
  
  
  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 | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public void ResumeRaiseEvents()
   
  
  
  
  
  
  
  Declaration
  
    public void SuspendRaiseEvents()
   
  Events
  
  
  
  
  
  
  Declaration
  
    public event NotifyCollectionChangedEventHandler CollectionChanged
   
  Event Type
  
    
      
        | Type | 
        
      
    
    
      
        | System.Collections.Specialized.NotifyCollectionChangedEventHandler | 
        
      
    
  
  
  
  
  
  
  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
  
  
  
  
      System.Collections.Specialized.INotifyCollectionChanged