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
System.ComponentModel.ISupportInitialize
Assembly: Syncfusion.Maui.GridCommon.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
Constructors
GenericBinaryTreeWithSummaryCollection(GenericTreeTableWithSummary<V>)
Declaration
public GenericBinaryTreeWithSummaryCollection(GenericTreeTableWithSummary<V> genericTree)
Parameters
GenericBinaryTreeWithSummaryCollection(Boolean)
Declaration
public GenericBinaryTreeWithSummaryCollection(bool sorted)
Parameters
Type |
Name |
Description |
System.Boolean |
sorted |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
HasSummaries
Indicates whether the tree has summaries.
Declaration
public bool HasSummaries { get; }
Property Value
Identifier
Declaration
public int Identifier { get; set; }
Property Value
IsFixedSize
Declaration
public bool IsFixedSize { get; }
Property Value
IsInitializing
Indicates whether BeginInit was called.
Declaration
public bool IsInitializing { get; }
Property Value
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
IsSynchronized
Declaration
public bool IsSynchronized { get; }
Property Value
Item[Int32]
Declaration
public V this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
SyncRoot
Declaration
public object SyncRoot { get; }
Property Value
Tag
Declaration
public object Tag { get; set; }
Property Value
Methods
Add(V)
Declaration
Parameters
Type |
Name |
Description |
V |
item |
|
Returns
AddIfNotExists(Object, V)
Declaration
public V AddIfNotExists(object key, V item)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
V |
item |
|
Returns
BeginInit()
Declaration
Clear()
Declaration
Contains(V)
Declaration
public bool Contains(V item)
Parameters
Type |
Name |
Description |
V |
item |
|
Returns
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
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
EndInit()
Declaration
FindHighestSmallerOrEqualKey(Object)
Declaration
public V FindHighestSmallerOrEqualKey(object key)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
Returns
FindKey(Object)
Declaration
public V FindKey(object key)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
Returns
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.
|
GetNext(V)
Returns the next item in the collection.
Declaration
public V GetNext(V current)
Parameters
Type |
Name |
Description |
V |
current |
|
Returns
GetPrevious(V)
Returns the previous item in the collection.
Declaration
public V GetPrevious(V current)
Parameters
Type |
Name |
Description |
V |
current |
|
Returns
GetSummaries(ITreeTableEmptySummaryArraySource)
Returns an array of summary objects.
Declaration
public ITreeTableSummary[] GetSummaries(ITreeTableEmptySummaryArraySource emptySummaries)
Parameters
Returns
IndexOf(V)
Declaration
public int IndexOf(V item)
Parameters
Type |
Name |
Description |
V |
item |
|
Returns
IndexOfKey(Object)
Declaration
public int IndexOfKey(object key)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
Returns
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
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
Implements
System.Collections.Generic.IList<>
System.Collections.Generic.ICollection<>
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable
System.Collections.IList
System.Collections.ICollection
System.IDisposable
System.ComponentModel.ISupportInitialize