Class TreeGridColumns
Represents the collection of TreeGridColumn.
Inheritance
System.Object
TreeGridColumns
Implements
System.IDisposable
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class TreeGridColumns : ObservableCollection<TreeGridColumn>, IDisposable
Constructors
TreeGridColumns()
Initializes a new instance of the Columns class.
Declaration
public TreeGridColumns()
Properties
Item[String]
Gets or sets the column at the specified mapping name .
Declaration
public TreeGridColumn this[string mappingName] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | mappingName | The mapping name of the column. |
Property Value
Type | Description |
---|---|
TreeGridColumn | Returns the column with corresponding to its mapping name. |
Methods
Dispose()
Disposes all the resources used by the TreeGridColumns class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the TreeGridColumns class.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Indicates whether the call is from Dispose method or from a finalizer. |
Resume()
Resumes the UI refresh when the columns are being added or removed.
Declaration
public void Resume()
Remarks
Update columns by calling Syncfusion.UI.Xaml.TreeGrid.Helpers.TreeGridHelper.RefreshColumns(Syncfusion.UI.Xaml.TreeGrid.SfTreeGrid) 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
System.IDisposable