menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GenericBinaryTreeWithSummaryCollection<V> - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    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.IEnumerable
    System.Collections.IList
    System.Collections.ICollection
    System.IDisposable
    ISupportInitialize
    IGenericBinaryTreeWithSummaryCollection<V>
    IGenericBinaryTreeCollection<V>
    Namespace: Syncfusion.UI.Xaml.Grids.Collections
    Assembly: Syncfusion.GridCommon.WinUI.dll
    Syntax
    public class GenericBinaryTreeWithSummaryCollection<V> : Object, IList<V>, ICollection<V>, IEnumerable<V>, IEnumerable, IList, ICollection, IDisposable, ISupportInitialize, IGenericBinaryTreeWithSummaryCollection<V>, IGenericBinaryTreeCollection<V> where V : ITreeTableEntryHost
    Type Parameters
    Name
    V

    Constructors

    GenericBinaryTreeWithSummaryCollection(GenericTreeTableWithSummary<V>)

    Declaration
    public GenericBinaryTreeWithSummaryCollection(GenericTreeTableWithSummary<V> genericTree)
    Parameters
    Type Name Description
    GenericTreeTableWithSummary<V> genericTree

    GenericBinaryTreeWithSummaryCollection(Boolean)

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

    Properties

    Count

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

    HasSummaries

    Indicates whether the tree has summaries.

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

    Identifier

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

    IsFixedSize

    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

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

    IsSynchronized

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

    Item[Int32]

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

    SyncRoot

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

    Tag

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

    Methods

    Add(V)

    Declaration
    public int Add(V item)
    Parameters
    Type Name Description
    V item
    Returns
    Type
    System.Int32

    AddIfNotExists(Object, V)

    Declaration
    public V AddIfNotExists(object key, V item)
    Parameters
    Type Name Description
    System.Object key
    V item
    Returns
    Type
    V

    BeginInit()

    Declaration
    public void BeginInit()

    Clear()

    Declaration
    public void Clear()

    Contains(V)

    Declaration
    public bool Contains(V item)
    Parameters
    Type Name Description
    V item
    Returns
    Type
    System.Boolean

    CopyTo(V[], Int32)

    Declaration
    public void CopyTo(V[] array, int arrayIndex)
    Parameters
    Type Name Description
    V[] array
    System.Int32 arrayIndex

    Dispose()

    Disposes of the object and releases internal objects.

    Declaration
    public void Dispose()

    Dispose(Boolean)

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

    EndInit()

    Declaration
    public void EndInit()

    FindHighestSmallerOrEqualKey(Object)

    Declaration
    public V FindHighestSmallerOrEqualKey(object key)
    Parameters
    Type Name Description
    System.Object key
    Returns
    Type
    V

    FindKey(Object)

    Declaration
    public V FindKey(object key)
    Parameters
    Type Name Description
    System.Object key
    Returns
    Type
    V

    GetEnumerator()

    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.

    Remarks

    Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection.

    GetNext(V)

    Returns the next item in the collection.

    Declaration
    public V GetNext(V current)
    Parameters
    Type Name Description
    V current
    Returns
    Type
    V

    GetPrevious(V)

    Returns the previous item in the collection.

    Declaration
    public V GetPrevious(V current)
    Parameters
    Type Name Description
    V current
    Returns
    Type
    V

    GetSummaries(ITreeTableEmptySummaryArraySource)

    Returns an array of summary objects.

    Declaration
    public ITreeTableSummary[] GetSummaries(ITreeTableEmptySummaryArraySource emptySummaries)
    Parameters
    Type Name Description
    ITreeTableEmptySummaryArraySource emptySummaries
    Returns
    Type
    ITreeTableSummary[]

    IndexOf(V)

    Declaration
    public int IndexOf(V item)
    Parameters
    Type Name Description
    V item
    Returns
    Type
    System.Int32

    IndexOfKey(Object)

    Declaration
    public int IndexOfKey(object key)
    Parameters
    Type Name Description
    System.Object key
    Returns
    Type
    System.Int32

    Insert(Int32, V)

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

    InvalidateSummariesTopDown(Boolean)

    Marks all summaries dirty.

    Declaration
    public void InvalidateSummariesTopDown(bool notifySummariesSource)
    Parameters
    Type Name Description
    System.Boolean notifySummariesSource

    if set to true notify summaries source.

    RaiseEnsureInitialized(String)

    Declaration
    public void RaiseEnsureInitialized(string member)
    Parameters
    Type Name Description
    System.String member

    Remove(V)

    Declaration
    public bool Remove(V item)
    Parameters
    Type Name Description
    V item
    Returns
    Type
    System.Boolean

    RemoveAt(Int32)

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

    Events

    EnsureInitialized

    Declaration
    public event EventHandler<GenericTreeTableEnsureInitializedEventArgs> EnsureInitialized
    Event Type
    Type
    System.EventHandler<GenericTreeTableEnsureInitializedEventArgs>

    Implements

    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    System.Collections.IList
    System.Collections.ICollection
    System.IDisposable
    ISupportInitialize
    IGenericBinaryTreeWithSummaryCollection<V>
    IGenericBinaryTreeCollection<V>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved