alexa
Syncfusion
menu Syncfusion

MAUI

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

    Show / Hide Table of Contents

    Class TreeGridColumnCollection

    Represents a dynamic collection of columns for a treeGrid control.

    Inheritance
    object
    Collection<TreeGridColumn>
    ObservableCollection<TreeGridColumn>
    TreeGridColumnCollection
    Implements
    IList<TreeGridColumn>
    ICollection<TreeGridColumn>
    IList
    ICollection
    IReadOnlyList<TreeGridColumn>
    IReadOnlyCollection<TreeGridColumn>
    IEnumerable<TreeGridColumn>
    IEnumerable
    INotifyCollectionChanged
    INotifyPropertyChanged
    Inherited Members
    Collection<TreeGridColumn>.Add(TreeGridColumn)
    Collection<TreeGridColumn>.Clear()
    Collection<TreeGridColumn>.Contains(TreeGridColumn)
    Collection<TreeGridColumn>.CopyTo(TreeGridColumn[], int)
    Collection<TreeGridColumn>.Count
    Collection<TreeGridColumn>.GetEnumerator()
    Collection<TreeGridColumn>.IndexOf(TreeGridColumn)
    Collection<TreeGridColumn>.Insert(int, TreeGridColumn)
    Collection<TreeGridColumn>.Items
    Collection<TreeGridColumn>.Remove(TreeGridColumn)
    Collection<TreeGridColumn>.RemoveAt(int)
    Collection<TreeGridColumn>.this[int]
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    ObservableCollection<TreeGridColumn>.BlockReentrancy()
    ObservableCollection<TreeGridColumn>.CheckReentrancy()
    ObservableCollection<TreeGridColumn>.ClearItems()
    ObservableCollection<TreeGridColumn>.CollectionChanged
    ObservableCollection<TreeGridColumn>.InsertItem(int, TreeGridColumn)
    ObservableCollection<TreeGridColumn>.Move(int, int)
    ObservableCollection<TreeGridColumn>.MoveItem(int, int)
    ObservableCollection<TreeGridColumn>.OnCollectionChanged(NotifyCollectionChangedEventArgs)
    ObservableCollection<TreeGridColumn>.OnPropertyChanged(PropertyChangedEventArgs)
    ObservableCollection<TreeGridColumn>.PropertyChanged
    ObservableCollection<TreeGridColumn>.RemoveItem(int)
    ObservableCollection<TreeGridColumn>.SetItem(int, TreeGridColumn)
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public class TreeGridColumnCollection : ObservableCollection<TreeGridColumn>, IList<TreeGridColumn>, ICollection<TreeGridColumn>, IList, ICollection, IReadOnlyList<TreeGridColumn>, IReadOnlyCollection<TreeGridColumn>, IEnumerable<TreeGridColumn>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
    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 ColumnCollection class.

    Declaration
    public TreeGridColumnCollection()

    Properties

    this[string]

    Gets a DataGridColumn-derived column object with the specified DataGridColumn.MappingName from the SfDataGrid.Columns collection.

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

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

    Property Value
    Type Description
    TreeGridColumn

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

    Remarks

    Use this Indexer to get a DataGridColumn-derived column object with the specified DataGridColumn.MappingName from the SfDataGrid.Columns 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 SfDataGridHelpers.RefreshColumns method when the column updates are resumed.

    Suspend()

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

    Declaration
    public void Suspend()

    Implements

    IList<T>
    ICollection<T>
    IList
    ICollection
    IReadOnlyList<T>
    IReadOnlyCollection<T>
    IEnumerable<T>
    IEnumerable
    INotifyCollectionChanged
    INotifyPropertyChanged
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved