alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class TreeGridColumnCollection

    Represents a dynamic collection of columns for a treeGrid control.

    Inheritance
    System.Object
    TreeGridColumnCollection
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public class TreeGridColumnCollection : ObservableCollection<TreeGridColumn>
    Remarks

    This collection notifies listeners of changes such as when columns are added, removed, or the entire list is refreshed. It is typically used to manage the columns displayed in a treeGrid, allowing for dynamic updates to the column set at runtime.

    Constructors

    TreeGridColumnCollection()

    Initializes a new instance of the class.

    Declaration
    public TreeGridColumnCollection()

    Properties

    Item[String]

    Gets a -derived column object with the specified from the collection.

    Declaration
    public TreeGridColumn this[string mappingName] { get; }
    Parameters
    Type Name Description
    System.String mappingName

    The mapping name of the column whose column object to be retrieved.

    Property Value
    Type Description
    TreeGridColumn

    A object in the collection, associated with the given mapping name.

    Remarks

    Use this Indexer to get a -derived column object with the specified from the collection using array notation.

    Methods

    Resume()

    Resumes the UI refresh when the columns are being added or removed.

    Declaration
    public void Resume()
    Remarks

    Update columns by calling method when the column updates are resumed.

    Suspend()

    Suspends the UI refresh when the columns are being added or removed.

    Declaration
    public void Suspend()
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved