[]
        
(Showing Draft Content)

C1.Framework.TreeCollection-1

TreeCollection<T> Class

Represents a base collection for Columns and Rows.

Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public abstract class TreeCollection<T> : ObservableCollection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged where T : Element, new()
Public MustInherit Class TreeCollection(Of T As {Element, New})
    Inherits ObservableCollection(Of T)
    Implements IList(Of T), ICollection(Of T), IList, ICollection, IReadOnlyList(Of T), IReadOnlyCollection(Of T), IEnumerable(Of T), IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Type Parameters
Name Description
T

Constructors

Name Description
TreeCollection(Element)

Initializes a new instance of the TreeCollection<T> class.

Properties

Name Description
Parent

Gets the parent element of this collection.

Methods

Name Description
Add()

Creates and adds an object to the end of the TreeCollection<T>.

OnCollectionChanged(NotifyCollectionChangedEventArgs)