alexa
Syncfusion
menu Syncfusion

MAUI

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

    Show / Hide Table of Contents

    Class TreeGridCellRendererCollection

    Represents a collection of cell renderers for the SfTreeGrid control.

    Inheritance
    object
    NonFinalizeDisposable
    Disposable
    TreeGridCellRendererCollection
    Implements
    IDisposable
    ICollection
    IEnumerable
    Inherited Members
    NonFinalizeDisposable.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public class TreeGridCellRendererCollection : Disposable, IDisposable, ICollection, IEnumerable

    Constructors

    TreeGridCellRendererCollection(SfTreeGrid)

    Initializes a new instance of the GridCellRendererCollection class.

    Declaration
    public TreeGridCellRendererCollection(SfTreeGrid grid)
    Parameters
    Type Name Description
    SfTreeGrid grid

    The reference of the SfDataGrid.

    Properties

    Count

    Gets the number of elements contained in the ICollection.

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

    The number of elements contained in the ICollection.

    IsSynchronized

    Gets a value indicating whether access to the ICollection is synchronized (thread safe).

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

    True if access to the ICollection is synchronized (thread safe); otherwise, false.

    this[string]

    Indexer will return the corresponding renderer for the given key value.

    Declaration
    public ITreeGridCellRenderer? this[string key] { get; set; }
    Parameters
    Type Name Description
    string key

    The key for which the renderer should be obtained.

    Property Value
    Type Description
    ITreeGridCellRenderer

    The corresponding renderer for the given key value.

    Keys

    Gets the keys of the renderers in the collection.

    Declaration
    public ICollection Keys { get; }
    Property Value
    Type Description
    ICollection

    The keys of the renderers in the collection.

    SyncRoot

    Gets an object that can be used to synchronize access to the ICollection.

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

    An object that can be used to synchronize access to the ICollection.

    Values

    Gets the renderers in the collection.

    Declaration
    public ICollection Values { get; }
    Property Value
    Type Description
    ICollection

    The renderers in the collection.

    Methods

    Add(string, ITreeGridCellRenderer)

    Adds the given renderer to the Renderer dictionary.

    Declaration
    public void Add(string key, ITreeGridCellRenderer renderer)
    Parameters
    Type Name Description
    string key

    The key of the renderer.

    ITreeGridCellRenderer renderer

    The renderer which should be added to the collection.

    Clear()

    Clear the values in the renderer dictionary.

    Declaration
    public void Clear()

    ContainsKey(string)

    Checks whether the renderer dictionary contains the corresponding renderer key.

    Declaration
    public bool ContainsKey(string key)
    Parameters
    Type Name Description
    string key

    The key which should be queried in the renderer collection.

    Returns
    Type Description
    bool

    Returns true if the Key is found in the Dictionary, otherwise false.

    CopyTo(ITreeGridCellRenderer[], int)

    Copies the renderer values to the array.

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

    An array of cell renderer.

    int index

    The zero-based index in array at which copying begins.

    CopyTo(Array, int)

    Copies the elements of the ICollection to an Array, starting at a given Array index.

    Declaration
    public void CopyTo(Array array, int index)
    Parameters
    Type Name Description
    Array array

    The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.

    int index

    The zero-based index in array at which copying begins.

    Exceptions
    Type Condition
    ArgumentException

    array is multidimensional.-or- The number of elements in the source ICollection is greater than the available space from index to the end of the destination array.-or-The type of the source ICollection cannot be cast automatically to the type of the destination array.

    ArgumentOutOfRangeException

    index is less than zero.

    ArgumentNullException

    array is null.

    Dispose(bool)

    Releases the unmanaged resources used by the component and optionally releases the managed resources.

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

    The value indicating whether both managed and unmanaged resources should be released. if true - release both managed and unmanaged resources; if false - release only unmanaged resources.

    Overrides
    NonFinalizeDisposable.Dispose(bool)

    GetEnumerator()

    Returns the enumerator for retrieving the values in the cell renderer collection.

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type Description
    IEnumerator

    The enumerator for retrieving the values in the cell renderer collection.

    Remove(string)

    Removes the renderer with the given key value from the dictionary.

    Declaration
    public void Remove(string key)
    Parameters
    Type Name Description
    string key

    The key whose renderer should be removed.

    Implements

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