Class TreeGridModel
TreeGridModel for .NET MAUI. Ports core logic with simplified UI interactions. Skips: ColumnSizer, SelectionController, ValidationHelper, StackedHeaderRows visuals.
Inheritance
System.Object
TreeGridModel
Implements
System.IDisposable
Namespace: Syncfusion.Maui.TreeGrid
Assembly: Syncfusion.Maui.TreeGrid.dll
Syntax
public class TreeGridModel : Object, IDisposable
Constructors
TreeGridModel(SfTreeGrid)
Initializes a new instance of the TreeGridModel class using the specified SfTreeGrid control.
Declaration
public TreeGridModel(SfTreeGrid treeGrid)
Parameters
| Type | Name | Description |
|---|---|---|
| SfTreeGrid | treeGrid | The SfTreeGrid control to associate with this model. Cannot be null. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown if the treeGrid parameter is null. |
Methods
Dispose()
Releases all resources used by the current instance of the class.
Declaration
public void Dispose()
Remarks
Call this method when you are finished using the object to release unmanaged resources and perform other cleanup operations. After calling Dispose, the object should not be used further.
Dispose(Boolean)
Releases all resources used by the current instance of the class.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
Implements
System.IDisposable