alexa
Syncfusion
menu Syncfusion

MAUI

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

    Show / Hide Table of Contents

    Class TreeTableVisibleCounter

    A counter that counts objects that are marked "Visible".

    Inheritance
    object
    TreeTableVisibleCounter
    Implements
    ITreeTableCounter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Syncfusion.Maui.GridCommon.Collections
    Assembly: Syncfusion.Maui.GridCommon.dll
    Syntax
    public class TreeTableVisibleCounter : ITreeTableCounter

    Constructors

    TreeTableVisibleCounter(double)

    Initializes a TreeTableVisibleCounter with a specified number of visible elements.

    Declaration
    public TreeTableVisibleCounter(double visibleCount)
    Parameters
    Type Name Description
    double visibleCount

    The visible count.

    Fields

    Empty

    Returns an empty TreeTableVisibleCounter that represents zero visible elements.

    Declaration
    public static readonly TreeTableVisibleCounter Empty
    Field Value
    Type
    TreeTableVisibleCounter

    Properties

    Kind

    The Counter Kind.

    Declaration
    public virtual int Kind { get; }
    Property Value
    Type
    int

    Methods

    Combine(TreeTableVisibleCounter, int)

    Combines the counter values of this counter object with the values of another counter object and returns a new counter object.

    Declaration
    public TreeTableVisibleCounter Combine(TreeTableVisibleCounter other, int cookie)
    Parameters
    Type Name Description
    TreeTableVisibleCounter other

    The other.

    int cookie

    The cookie.

    Returns
    Type
    TreeTableVisibleCounter

    Compare(TreeTableVisibleCounter, int)

    Compares this counter with another counter. A cookie can specify a specific counter type.

    Declaration
    public virtual double Compare(TreeTableVisibleCounter other, int cookie)
    Parameters
    Type Name Description
    TreeTableVisibleCounter other

    The other.

    int cookie

    The cookie.

    Returns
    Type
    double

    CreateCounter()

    Factory method creates a new counter object of the same type as this object.

    Declaration
    public virtual TreeTableVisibleCounter CreateCounter()
    Returns
    Type
    TreeTableVisibleCounter

    GetValue(int)

    Returns the integer value of the counter. A cookie specifies a specific counter type.

    Declaration
    public virtual double GetValue(int cookie)
    Parameters
    Type Name Description
    int cookie

    The cookie.

    Returns
    Type
    double

    GetVisibleCount()

    Returns the visible count.

    Declaration
    public double GetVisibleCount()
    Returns
    Type
    double

    IsEmpty(int)

    Indicates whether the counter object is empty. A cookie can specify a specific counter type.

    Declaration
    public virtual bool IsEmpty(int cookie)
    Parameters
    Type Name Description
    int cookie

    The cookie.

    Returns
    Type Description
    bool

    true if the specified cookie is empty; otherwise, false.

    OnCombineCounters(ITreeTableCounter, ITreeTableCounter, int)

    Called to combine the values of two counter objects. Results are saved back into this counter object. A cookie can filter the operation to a limited set of counter types.

    Declaration
    protected virtual void OnCombineCounters(ITreeTableCounter x, ITreeTableCounter y, int cookie)
    Parameters
    Type Name Description
    ITreeTableCounter x

    The x.

    ITreeTableCounter y

    The y.

    int cookie

    The cookie.

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()

    Implements

    ITreeTableCounter
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved