Class TreeGridColumnCollection
Represents a dynamic collection of columns for a treeGrid control.
Inheritance
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
Declaration
public TreeGridColumnCollection()
Properties
Item[String]
Gets a
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 |
Remarks
Use this Indexer to get a
Methods
Resume()
Resumes the UI refresh when the columns are being added or removed.
Declaration
public void Resume()
Remarks
Update columns by calling
Suspend()
Suspends the UI refresh when the columns are being added or removed.
Declaration
public void Suspend()