[]
        
(Showing Draft Content)

C1.DataCollection.C1TreeDataCollection-1

C1TreeDataCollection<T> Class

Collection whose items are parent of other items of the same type.

Inheritance
C1TreeDataCollection<T>
Namespace: C1.DataCollection
Assembly: C1.DataCollection.dll
Syntax
public class C1TreeDataCollection<T> : C1WrapDataCollection<T>, ISupportIndexing<T>, INotifyPropertyChanged, IDisposable, ISupportSorting, ISupportFiltering, ISupportGrouping, ISupportVirtualization, ISupportConnection, ISupportAsyncLoading<T>, ISupportIncrementalLoading, ISupportRefreshing, ISupportRangeEditing<T>, ISupportEditing<T>, ISupportCreateNewItem<T>, ISupportPaging, ISupportSource, ITreeDataCollection<T>, IDataCollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged where T : class
Type Parameters
Name Description
T

Constructors

Name Description
C1TreeDataCollection(IEnumerable, IReadOnlyList<string>)

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

C1TreeDataCollection(IEnumerable, string)

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

Properties

Name Description
ChildrenPaths

Gets the path in the items to get the collection of children.

FilterExpression

Gets the filter expression applied to the data.

SortDescriptions

Gets the sort descriptions applied to the data.

Methods

Name Description
CanFilter(FilterExpression?)

Returns whether the collection is able to filter the specified expression.

CanSort(params SortDescription[])

Returns whether the collection is able to sort the specified sort descriptions.

Dispose(bool)

Called to dispose resources.

FilterAsync(FilterExpression?, CancellationToken)

Filters the data using specified filter expression.

GetChildren(int)

Gets the children of the item at the specified index.

SortAsync(SortDescription[], CancellationToken)

Sorts the collection according to the specified sort descriptions.

Extension Methods