menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeTableEntrySourceCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeTableEntrySourceCollection

    A collection of ITreeTableEntrySource objects that are internally using a ITreeTable.

    Inheritance
    System.Object
    TreeTableEntrySourceCollection
    Implements
    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()
    Namespace: Syncfusion.Windows.Forms.Collections
    Assembly: Syncfusion.Spreadsheet.Windows.dll
    Syntax
    public class TreeTableEntrySourceCollection : IList, ICollection, IEnumerable, IDisposable

    Constructors

    TreeTableEntrySourceCollection()

    Overloaded. Initializes a new TreeTableEntrySourceCollection.

    Declaration
    public TreeTableEntrySourceCollection()

    TreeTableEntrySourceCollection(ITreeTable)

    Initializes a new TreeTableEntrySourceCollection.

    Declaration
    public TreeTableEntrySourceCollection(ITreeTable inner)
    Parameters
    Type Name Description
    ITreeTable inner

    TreeTableEntrySourceCollection(Boolean)

    Initializes a new TreeTableEntrySourceCollection.

    Declaration
    public TreeTableEntrySourceCollection(bool sorted)
    Parameters
    Type Name Description
    System.Boolean sorted

    Properties

    Count

    Returns the number of objects in this collection.

    Declaration
    public int Count { get; }
    Property Value
    Type
    System.Int32

    IsFixedSize

    Indicates whether the nodes can be added or removed.

    Declaration
    public bool IsFixedSize { get; }
    Property Value
    Type
    System.Boolean

    IsInitializing

    Indicates whether BeginInit was called.

    Declaration
    public bool IsInitializing { get; }
    Property Value
    Type
    System.Boolean

    IsReadOnly

    Indicates whether tree is Read-only.

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type
    System.Boolean

    IsSynchronized

    Not supported.

    Declaration
    public bool IsSynchronized { get; }
    Property Value
    Type
    System.Boolean

    Item[Int32]

    Gets / sets an ITreeTableEntrySource at a specific position.

    Declaration
    public ITreeTableEntrySource this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type
    ITreeTableEntrySource

    SyncRoot

    Declaration
    public object SyncRoot { get; }
    Property Value
    Type
    System.Object

    Methods

    Add(ITreeTableEntrySource)

    Appends an object.

    Declaration
    public int Add(ITreeTableEntrySource value)
    Parameters
    Type Name Description
    ITreeTableEntrySource value

    The value of the object to append.

    Returns
    Type
    System.Int32

    BeginInit()

    Optimizes insertion of many elements when tree is initialized for the first time.

    Declaration
    public void BeginInit()

    Clear()

    Clears all nodes in the tree.

    Declaration
    public void Clear()

    Contains(ITreeTableEntrySource)

    Indicates whether object belongs to this collection.

    Declaration
    public bool Contains(ITreeTableEntrySource value)
    Parameters
    Type Name Description
    ITreeTableEntrySource value

    The value of the object.

    Returns
    Type Description
    System.Boolean

    True if object belongs to the collection; false otherwise.

    CopyTo(ITreeTableEntrySource[], Int32)

    Copies the contents of the collection to an array.

    Declaration
    public void CopyTo(ITreeTableEntrySource[] array, int index)
    Parameters
    Type Name Description
    ITreeTableEntrySource[] array

    Destination array.

    System.Int32 index

    Starting index of the destination array.

    Dispose()

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    EndInit()

    Ends optimization of insertion of elements when tree is initialized for the first time.

    Declaration
    public void EndInit()

    GetEnumerator()

    Returns a strongly typed enumerator.

    Declaration
    public TreeTableEntrySourceCollectionEnumerator GetEnumerator()
    Returns
    Type Description
    TreeTableEntrySourceCollectionEnumerator

    A strongly types enumerator.

    IndexOf(ITreeTableEntrySource)

    Returns the position of a object in the collection.

    Declaration
    public int IndexOf(ITreeTableEntrySource value)
    Parameters
    Type Name Description
    ITreeTableEntrySource value

    The value of the object.

    Returns
    Type Description
    System.Int32

    The position of the object.

    Insert(Int32, ITreeTableEntrySource)

    Inserts an object at the specified index.

    Declaration
    public void Insert(int index, ITreeTableEntrySource value)
    Parameters
    Type Name Description
    System.Int32 index

    Index value where the object is to be inserted.

    ITreeTableEntrySource value

    Value of the object to insert.

    Remove(ITreeTableEntrySource)

    Removes the object.

    Declaration
    public void Remove(ITreeTableEntrySource value)
    Parameters
    Type Name Description
    ITreeTableEntrySource value

    The value of the object to remove.

    RemoveAt(Int32)

    Removes a node at the specified index.

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Index value of the node to remove.

    Explicit Interface Implementations

    ICollection.CopyTo(Array, Int32)

    Copies elements to destination array.

    Declaration
    void ICollection.CopyTo(Array array, int index)
    Parameters
    Type Name Description
    System.Array array

    Destination array.

    System.Int32 index

    Starting index of the destination array.

    IEnumerable.GetEnumerator()

    Returns an enumerator.

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Enumerator.

    IList.Add(Object)

    Adds the specified object to the collection.

    Declaration
    int IList.Add(object value)
    Parameters
    Type Name Description
    System.Object value

    Value of the object to add.

    Returns
    Type
    System.Int32

    IList.Contains(Object)

    Indicate whether the specified object belongs to this collection.

    Declaration
    bool IList.Contains(object value)
    Parameters
    Type Name Description
    System.Object value

    Object value to look for.

    Returns
    Type Description
    System.Boolean

    True if object belongs to the collection; false otherwise.

    IList.get_Item(Int32)

    Declaration
    object IList.get_Item(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type
    System.Object

    IList.IndexOf(Object)

    Returns the index of the specified object.

    Declaration
    int IList.IndexOf(object value)
    Parameters
    Type Name Description
    System.Object value

    Value of the object.

    Returns
    Type Description
    System.Int32

    Index value of the object.

    IList.Insert(Int32, Object)

    Inserts the object at the specified index.

    Declaration
    void IList.Insert(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index

    Index value of the object to insert.

    System.Object value

    Value of the object to insert.

    IList.Item[Int32]

    Gets / sets the item at the specified index.

    Declaration
    object IList.this[] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    Index of the item.

    Returns
    Type Description
    System.Object

    The item at the specified index.

    IList.Remove(Object)

    Removes the specified object.

    Declaration
    void IList.Remove(object value)
    Parameters
    Type Name Description
    System.Object value

    Value of the object to remove.

    IList.set_Item(Int32, Object)

    Declaration
    void IList.set_Item(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.IDisposable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved