Class TreeGridColumns
Represents the collection of TreeGridColumn.
Inheritance
System.Object
TreeGridColumns
Implements
System.IDisposable
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class TreeGridColumns : FreezableCollection<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
CreateInstanceCore()
Initializes a new instance of columns class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Type | Description |
---|---|
System.Windows.Freezable | Returns the new instance of column collection. |
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 RefreshColumns(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