Class TreeDataColumnBase
Inheritance
System.Object
TreeDataColumnBase
Implements
System.ComponentModel.INotifyPropertyChanged
System.IComparable
System.IDisposable
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public abstract class TreeDataColumnBase : Object, ITreeDataColumnElement, IElement, INotifyPropertyChanged, IComparable, IDisposable
Constructors
TreeDataColumnBase()
Declaration
protected TreeDataColumnBase()
Properties
ColumnElement
Declaration
public FrameworkElement ColumnElement { get; }
Property Value
Type |
Description |
Windows.UI.Xaml.FrameworkElement |
|
ColumnIndex
Declaration
public int ColumnIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
ColumnSpan
Declaration
public int ColumnSpan { get; }
Property Value
Type |
Description |
System.Int32 |
|
ColumnType
Declaration
public TreeColumnType ColumnType { get; set; }
Property Value
DataRow
Declaration
protected TreeDataRowBase DataRow { get; set; }
Property Value
Element
Declaration
public FrameworkElement Element { get; }
Property Value
Type |
Description |
Windows.UI.Xaml.FrameworkElement |
|
Index
Declaration
public int Index { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsCurrentCell
Gets or sets a value indicating whether the current cell selection is visible or not..
Declaration
public bool IsCurrentCell { get; set; }
Property Value
Type |
Description |
System.Boolean |
true if this instance ; otherwise, false.
|
IsEditing
Declaration
public bool IsEditing { get; }
Property Value
Type |
Description |
System.Boolean |
|
Renderer
Declaration
public ITreeGridCellRenderer Renderer { get; }
Property Value
RowIndex
Declaration
public int RowIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
RowSpan
Gets the RowSpan of the Column
Declaration
public int RowSpan { get; }
Property Value
Type |
Description |
System.Int32 |
|
TreeGridColumn
Declaration
public TreeGridColumn TreeGridColumn { get; }
Property Value
Methods
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Int32 |
|
Dispose()
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
OnInitializeColumnElement(Object, Boolean)
Prepares the Column element based on the Visible column
Declaration
protected abstract FrameworkElement OnInitializeColumnElement(object dataContext, bool IsInEdit)
Parameters
Type |
Name |
Description |
System.Object |
dataContext |
|
System.Boolean |
IsInEdit |
|
Returns
Type |
Description |
Windows.UI.Xaml.FrameworkElement |
|
RaisePropertyChanged(String)
Declaration
public void RaisePropertyChanged(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
UpdateBinding(Object, Boolean)
Method which is update the binding and style information of the
cell when we recycle the cell for scrolling.
Declaration
public abstract void UpdateBinding(object dataContext, bool updateCellStyle = true)
Parameters
Type |
Name |
Description |
System.Object |
dataContext |
|
System.Boolean |
updateCellStyle |
|
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 abstract void UpdateCellStyle()
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
System.IComparable
System.IDisposable
Extension Methods