UWP

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeDataColumnBase - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeDataColumnBase

    Inheritance
    System.Object
    TreeDataColumnBase
    TreeDataColumn
    Implements
    ITreeDataColumnElement
    IElement
    System.ComponentModel.INotifyPropertyChanged
    System.IComparable
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.TreeGrid
    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

    Gets the ColumnSpan

    Declaration
    public int ColumnSpan { get; }
    Property Value
    Type Description
    System.Int32

    ColumnType

    Declaration
    public TreeColumnType ColumnType { get; set; }
    Property Value
    Type Description
    TreeColumnType

    DataRow

    Declaration
    protected TreeDataRowBase DataRow { get; set; }
    Property Value
    Type Description
    TreeDataRowBase

    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
    Type Description
    ITreeGridCellRenderer

    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
    Type Description
    TreeGridColumn

    Methods

    CompareTo(Object)

    Declaration
    public int CompareTo(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Int32

    Dispose()

    Disposes all the resources used by the TreeDataColumnBase class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes all the resources used by the TreeDataColumnBase class.

    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

    ITreeDataColumnElement
    IElement
    System.ComponentModel.INotifyPropertyChanged
    System.IComparable
    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved