Class TreeDataColumn
Represents a class that provides the common functionalities of data columns in SfTreeGrid.
Implements
System.ComponentModel.INotifyPropertyChanged
System.IComparable
System.IDisposable
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class TreeDataColumn : TreeDataColumnBase, ITreeDataColumnElement, IElement, INotifyPropertyChanged, IComparable, IDisposable
Constructors
TreeDataColumn()
Declaration
public TreeDataColumn()
Methods
OnInitializeColumnElement(Object, Boolean)
Prepares the Column element based on the Visible column
Declaration
protected override FrameworkElement OnInitializeColumnElement(object dataContext, bool isInEdit)
Parameters
Type | Name | Description |
---|---|---|
System.Object | dataContext | |
System.Boolean | isInEdit |
Returns
Type |
---|
System.Windows.FrameworkElement |
Overrides
UpdateBinding(Object, Boolean)
Method which is update the binding and style information of the cell when we recycle the cell for scrolling.
Declaration
public override void UpdateBinding(object dataContext, bool updateCellStyle = true)
Parameters
Type | Name | Description |
---|---|---|
System.Object | dataContext | |
System.Boolean | updateCellStyle |
Overrides
UpdateCellStyle()
When we scroll the Grid vertically row's will be recycled. While recycling we need to update the style info of all the cell's in old row. This property change call back will update the style info of all the cell element when the row index changed.
Declaration
public override void UpdateCellStyle()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
System.IComparable
System.IDisposable