alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class GenericBinaryTreeWithCounterCollection<V, C>

    A collection of items maintained in a binary tree

    Inheritance
    object
    GenericBinaryTreeWithCounterCollection<V, C>
    Implements
    IList<V>
    ICollection<V>
    IEnumerable<V>
    IList
    ICollection
    IEnumerable
    IDisposable
    ISupportInitialize
    IGenericBinaryTreeWithCounterCollection<V, C>
    IGenericBinaryTreeWithSummaryCollection<V>
    IGenericBinaryTreeCollection<V>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.GridCommon.Collections.Generic
    Assembly: Syncfusion.Maui.GridCommon.dll
    Syntax
    public class GenericBinaryTreeWithCounterCollection<V, C> : IList<V>, ICollection<V>, IEnumerable<V>, IList, ICollection, IEnumerable, IDisposable, ISupportInitialize, IGenericBinaryTreeWithCounterCollection<V, C>, IGenericBinaryTreeWithSummaryCollection<V>, IGenericBinaryTreeCollection<V> where V : ITreeTableEntryHost, ITreeTableCounterSource where C : ITreeTableCounter
    Type Parameters
    Name
    V
    C

    Constructors

    GenericBinaryTreeWithCounterCollection(GenericTreeTableWithCounter<V, C>)

    Declaration
    public GenericBinaryTreeWithCounterCollection(GenericTreeTableWithCounter<V, C> genericTree)
    Parameters
    Type Name Description
    GenericTreeTableWithCounter<V, C> genericTree

    GenericBinaryTreeWithCounterCollection(C, bool)

    Declaration
    public GenericBinaryTreeWithCounterCollection(C startPos, bool sorted)
    Parameters
    Type Name Description
    C startPos
    bool sorted

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type
    int

    HasSummaries

    Indicates whether the tree has summaries.

    Declaration
    public bool HasSummaries { get; }
    Property Value
    Type
    bool

    Identifier

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

    IsFixedSize

    Declaration
    public bool IsFixedSize { get; }
    Property Value
    Type
    bool

    IsInitializing

    Indicates whether BeginInit was called.

    Declaration
    public bool IsInitializing { get; }
    Property Value
    Type
    bool

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type
    bool

    IsSynchronized

    Declaration
    public bool IsSynchronized { get; }
    Property Value
    Type
    bool

    this[int]

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

    SyncRoot

    Declaration
    public object SyncRoot { get; }
    Property Value
    Type
    object

    Tag

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

    Methods

    Add(V)

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

    AddIfNotExists(object, V)

    Declaration
    public V AddIfNotExists(object key, V item)
    Parameters
    Type Name Description
    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
    bool

    CopyTo(V[], int)

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

    Dispose()

    Disposes of the object and releases internal objects.

    Declaration
    public void Dispose()

    Dispose(bool)

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

    EndInit()

    Declaration
    public void EndInit()

    FindHighestSmallerOrEqualKey(object)

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

    FindKey(object)

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

    GetCounterTotal()

    Returns the total of all counters in this tree.

    Declaration
    public C GetCounterTotal()
    Returns
    Type
    C

    GetEnumerator()

    Returns an enumerator for the entire collection.

    Declaration
    public IEnumerator<V> GetEnumerator()
    Returns
    Type Description
    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.

    GetItemAtCounterPosition(C, int)

    Overloaded. Returns an entry at the specified counter position. A cookie defines the type of counter.

    Declaration
    public V GetItemAtCounterPosition(C searchPosition, int cookie)
    Parameters
    Type Name Description
    C searchPosition

    The search position.

    int cookie

    The cookie.

    Returns
    Type
    V

    GetItemAtCounterPosition(C, int, bool)

    Returns an entry at the specified counter position. A cookie defines the type of counter.

    Declaration
    public V GetItemAtCounterPosition(C searchPosition, int cookie, bool preferLeftMost)
    Parameters
    Type Name Description
    C searchPosition

    The search position.

    int cookie

    The cookie.

    bool preferLeftMost

    Indicates if the leftmost entry should be returned if multiple tree elements have the same searchPosition.

    Returns
    Type
    V

    GetNext(V)

    Returns the next item in the collection.

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

    GetNextNotEmptyCounterItem(V, int)

    Returns the subsequent entry in the collection for which the specific counter is not empty. A cookie defines the type of counter.

    Declaration
    public V GetNextNotEmptyCounterItem(V current, int cookie)
    Parameters
    Type Name Description
    V current

    The current.

    int cookie

    The cookie.

    Returns
    Type
    V

    GetNextVisibleItem(V)

    Returns the next entry in the collection for which CountVisible counter is not empty.

    Declaration
    public V GetNextVisibleItem(V current)
    Parameters
    Type Name Description
    V current

    The 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

    GetPreviousNotEmptyCounterItem(V, int)

    Returns the previous entry in the collection for which the specific counter is not empty. A cookie defines the type of counter.

    Declaration
    public V GetPreviousNotEmptyCounterItem(V current, int cookie)
    Parameters
    Type Name Description
    V current

    The current.

    int cookie

    The cookie.

    Returns
    Type
    V

    GetPreviousVisibleItem(V)

    Returns the previous entry in the collection for which CountVisible counter is not empty.

    Declaration
    public V GetPreviousVisibleItem(V current)
    Parameters
    Type Name Description
    V current

    The current.

    Returns
    Type
    V

    GetStartCounterPosition()

    Returns the starting counter for this tree.

    Declaration
    public C GetStartCounterPosition()
    Returns
    Type
    C

    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
    int

    IndexOfKey(object)

    Declaration
    public int IndexOfKey(object key)
    Parameters
    Type Name Description
    object key
    Returns
    Type
    int

    Insert(int, V)

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

    InvalidateCounterTopDown(bool)

    Marks all counters dirty.

    Declaration
    public void InvalidateCounterTopDown(bool notifyCounterSource)
    Parameters
    Type Name Description
    bool notifyCounterSource

    InvalidateSummariesTopDown(bool)

    Marks all summaries dirty.

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

    if set to true notify summaries source.

    RaiseEnsureInitialized(string)

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

    Remove(V)

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

    RemoveAt(int)

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

    Events

    EnsureInitialized

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

    Implements

    IList<T>
    ICollection<T>
    IEnumerable<T>
    IList
    ICollection
    IEnumerable
    IDisposable
    ISupportInitialize
    IGenericBinaryTreeWithCounterCollection<V, C>
    IGenericBinaryTreeWithSummaryCollection<V>
    IGenericBinaryTreeCollection<V>
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved