menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeTableWithCounter - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeTableWithCounter

    A balanced tree with TreeTableWithCounterEntry entries.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    TreeTable
    TreeTableWithSummary
    TreeTableWithCounter
    Implements
    ITreeTable
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.IDisposable
    Inherited Members
    Disposable.Finalize()
    NonFinalizeDisposable.Dispose()
    TreeTable.Add(ITreeTableNode)
    TreeTable.AddIfNotExists(Object, ITreeTableEntry)
    TreeTable.AddSorted(ITreeTableNode)
    TreeTable.BeginInit()
    TreeTable.Clear()
    TreeTable.Comparer
    TreeTable.Contains(ITreeTableNode)
    TreeTable.CopyTo(ITreeTableNode[], Int32)
    TreeTable.Count
    TreeTable.Dispose(Boolean)
    TreeTable.FindHighestSmallerOrEqualKey(Object)
    TreeTable.FindKey(Object)
    TreeTable.GetCount()
    TreeTable.GetNextEntry(ITreeTableEntry)
    TreeTable.GetPreviousEntry(ITreeTableEntry)
    TreeTable.IndexOf(ITreeTableNode)
    TreeTable.IndexOfKey(Object)
    TreeTable.Insert(Int32, ITreeTableNode)
    TreeTable.IsFixedSize
    TreeTable.IsInitializing
    TreeTable.IsReadOnly
    TreeTable.IsSynchronized
    TreeTable.lastIndexLeaf
    TreeTable.Remove(ITreeTableNode)
    TreeTable.RemoveAt(Int32)
    TreeTable.ResetCache()
    TreeTable.Root
    TreeTable.Sorted
    TreeTable.SyncRoot
    TreeTable.Tag
    TreeTableWithSummary.Add(TreeTableWithSummaryEntry)
    TreeTableWithSummary.Contains(TreeTableWithSummaryEntry)
    TreeTableWithSummary.CopyTo(TreeTableWithSummaryEntry[], Int32)
    TreeTableWithSummary.GetSummaries(ITreeTableEmptySummaryArraySource)
    TreeTableWithSummary.HasSummaries
    TreeTableWithSummary.IndexOf(TreeTableWithSummaryEntry)
    TreeTableWithSummary.Insert(Int32, TreeTableWithSummaryEntry)
    TreeTableWithSummary.InvalidateSummariesTopDown(Boolean)
    TreeTableWithSummary.Remove(TreeTableWithSummaryEntry)
    Namespace: Syncfusion.UI.Xaml.Collections
    Assembly: Syncfusion.SfGrid.UWP.dll
    Syntax
    public class TreeTableWithCounter : TreeTableWithSummary, ITreeTable, IList, ICollection, IEnumerable, IDisposable

    Constructors

    TreeTableWithCounter(ITreeTableCounter, Boolean)

    Initializes a new TreeTableWithCounter.

    Declaration
    public TreeTableWithCounter(ITreeTableCounter startPos, bool sorted)
    Parameters
    Type Name Description
    ITreeTableCounter startPos
    System.Boolean sorted

    Properties

    Item[Int32]

    Gets / sets a TreeTableWithCounterEntry.

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

    ParentCounterSource

    Declaration
    public ITreeTableCounterSource ParentCounterSource { get; set; }
    Property Value
    Type
    ITreeTableCounterSource

    Methods

    Add(TreeTableWithCounterEntry)

    Appends an object.

    Declaration
    public int Add(TreeTableWithCounterEntry value)
    Parameters
    Type Name Description
    TreeTableWithCounterEntry value

    The value.

    Returns
    Type
    System.Int32

    Contains(TreeTableWithCounterEntry)

    Indicates whether an entry belongs to the tree.

    Declaration
    public bool Contains(TreeTableWithCounterEntry value)
    Parameters
    Type Name Description
    TreeTableWithCounterEntry value

    The entry.

    Returns
    Type Description
    System.Boolean

    true if tree contains the specified entry; otherwise, false.

    CopyTo(TreeTableWithCounterEntry[], Int32)

    Copies the elements of this tree to an array.

    Declaration
    public void CopyTo(TreeTableWithCounterEntry[] array, int index)
    Parameters
    Type Name Description
    TreeTableWithCounterEntry[] array

    The array.

    System.Int32 index

    The index.

    EndInit()

    Ends optimization of insertion of elements when tree is initialized for the first time.

    Declaration
    public override void EndInit()
    Overrides
    TreeTable.EndInit()

    GetCounterTotal()

    Returns the total of all counters in this tree.

    Declaration
    public ITreeTableCounter GetCounterTotal()
    Returns
    Type
    ITreeTableCounter

    GetEntryAtCounterPosition(ITreeTableCounter, Int32)

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

    Declaration
    public TreeTableWithCounterEntry GetEntryAtCounterPosition(ITreeTableCounter searchPosition, int cookie)
    Parameters
    Type Name Description
    ITreeTableCounter searchPosition

    The search position.

    System.Int32 cookie

    The cookie.

    Returns
    Type
    TreeTableWithCounterEntry

    GetEntryAtCounterPosition(ITreeTableCounter, Int32, Boolean)

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

    Declaration
    public TreeTableWithCounterEntry GetEntryAtCounterPosition(ITreeTableCounter searchPosition, int cookie, bool preferLeftMost)
    Parameters
    Type Name Description
    ITreeTableCounter searchPosition

    The search position.

    System.Int32 cookie

    The cookie.

    System.Boolean preferLeftMost

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

    Returns
    Type
    TreeTableWithCounterEntry

    GetEnumerator()

    Returns a strongly typed enumerator.

    Declaration
    public TreeTableWithCounterEnumerator GetEnumerator()
    Returns
    Type
    TreeTableWithCounterEnumerator

    GetNextNotEmptyCounterEntry(ITreeTableEntry, Int32)

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

    Declaration
    public ITreeTableEntry GetNextNotEmptyCounterEntry(ITreeTableEntry current, int cookie)
    Parameters
    Type Name Description
    ITreeTableEntry current

    The current.

    System.Int32 cookie

    The cookie.

    Returns
    Type
    ITreeTableEntry

    GetNextVisibleEntry(TreeTableWithCounterEntry)

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

    Declaration
    public TreeTableWithCounterEntry GetNextVisibleEntry(TreeTableWithCounterEntry current)
    Parameters
    Type Name Description
    TreeTableWithCounterEntry current

    The current.

    Returns
    Type
    TreeTableWithCounterEntry

    GetPreviousNotEmptyCounterEntry(ITreeTableEntry, Int32)

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

    Declaration
    public ITreeTableEntry GetPreviousNotEmptyCounterEntry(ITreeTableEntry current, int cookie)
    Parameters
    Type Name Description
    ITreeTableEntry current

    The current.

    System.Int32 cookie

    The cookie.

    Returns
    Type
    ITreeTableEntry

    GetPreviousVisibleEntry(TreeTableWithCounterEntry)

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

    Declaration
    public TreeTableWithCounterEntry GetPreviousVisibleEntry(TreeTableWithCounterEntry current)
    Parameters
    Type Name Description
    TreeTableWithCounterEntry current

    The current.

    Returns
    Type
    TreeTableWithCounterEntry

    GetStartCounterPosition()

    Returns the starting counter for this tree.

    Declaration
    public ITreeTableCounter GetStartCounterPosition()
    Returns
    Type
    ITreeTableCounter

    IndexOf(TreeTableWithCounterEntry)

    Returns the position of an object in the tree.

    Declaration
    public int IndexOf(TreeTableWithCounterEntry value)
    Parameters
    Type Name Description
    TreeTableWithCounterEntry value

    The value.

    Returns
    Type
    System.Int32

    Insert(Int32, TreeTableWithCounterEntry)

    Inserts a TreeTableWithCounterEntry object at the specified index.

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

    The index.

    TreeTableWithCounterEntry value

    The value.

    InvalidateCounterTopDown(Boolean)

    Marks all counters dirty.

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

    Remove(TreeTableWithCounterEntry)

    Removes an object from the tree.

    Declaration
    public bool Remove(TreeTableWithCounterEntry value)
    Parameters
    Type Name Description
    TreeTableWithCounterEntry value

    The value.

    Returns
    Type
    System.Boolean

    Implements

    ITreeTable
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved