WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridCellTemplateRenderer - WPF API Reference | Syncfusion TreeGridTemplateColumn. ">

    Show / Hide Table of Contents

    Class TreeGridCellTemplateRenderer

    Represents a class that maintains the rendering of TreeGridTemplateColumn.

    Inheritance
    System.Object
    TreeGridCellRendererBase
    TreeGridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>
    TreeGridVirtualizingCellRenderer<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>
    TreeGridCellTemplateRenderer
    Implements
    ITreeGridCellRenderer
    System.IDisposable
    Inherited Members
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.TextAlignmentToHorizontalAlignment(TextAlignment)
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.CurrentRendererValueChanged()
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.ShouldGridTryToHandleKeyDown(KeyEventArgs)
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.OnInitializeTemplateElement(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.OnUpdateTemplateBinding(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.OnInitializeDisplayElement(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.OnUpdateDisplayBinding(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.OnInitializeEditElement(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.OnUpdateEditBinding(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.EditorType
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnPrepareUIElements(TreeDataColumnBase, Object, Boolean)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.BeginEdit(RowColumnIndex, FrameworkElement, TreeGridColumn, Object)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnEnteredEditMode(TreeDataColumnBase, FrameworkElement)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.EndEdit(TreeDataColumnBase, Object, Boolean)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnEditingComplete(TreeDataColumnBase, FrameworkElement)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnUnloadUIElements(TreeDataColumnBase)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnArrange(RowColumnIndex, FrameworkElement, Rect)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnMeasure(RowColumnIndex, FrameworkElement, Size)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnUpdateBindingInfo(TreeDataColumnBase, Object, Boolean)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.UpdateToolTip(TreeDataColumnBase)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnCreateEditUIElement()
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnCreateDisplayUIElement()
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.InitializeEditElement(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.InitializeDisplayElement(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.InitializeTemplateElement(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnWireDisplayUIElement(ContentControl)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnUnwireDisplayUIElement(ContentControl)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnWireTemplateUIElement(ContentControl)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnUnwireTemplateUIElement(ContentControl)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnWireEditUIElement(ContentControl)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnUnwireEditUIElement(ContentControl)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnEditElementLoaded(Object, RoutedEventArgs)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnEditElementUnloaded(Object, RoutedEventArgs)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnEditElementLostFocus(Object, RoutedEventArgs)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.InitializeCellStyle(TreeDataColumnBase, Object)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.OnUpdateStyleInfo(TreeDataColumn)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.ClearRecycleBin()
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.Dispose(Boolean)
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.DisplayRecycleBin
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.EditRecycleBin
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.TemplateRecycleBin
    TreeGridVirtualizingCellRendererBase<ContentControl, ContentControl>.AllowRecycle
    TreeGridCellRendererBase.OnPrepareUIElements(TreeDataColumnBase, Object, Boolean)
    TreeGridCellRendererBase.OnPreviewTextInput(TextCompositionEventArgs)
    TreeGridCellRendererBase.CanUpdateBinding(TreeGridColumn)
    TreeGridCellRendererBase.OnMeasure(RowColumnIndex, FrameworkElement, Size)
    TreeGridCellRendererBase.UpdateToolTip(TreeDataColumnBase)
    TreeGridCellRendererBase.OnUnloadUIElements(TreeDataColumnBase)
    TreeGridCellRendererBase.OnUpdateBindingInfo(TreeDataColumnBase, Object, Boolean)
    TreeGridCellRendererBase.SetFocus(FrameworkElement, Boolean)
    TreeGridCellRendererBase.ITreeGridCellRenderer.ShouldGridTryToHandleKeyDown(KeyEventArgs)
    TreeGridCellRendererBase.Arrange(RowColumnIndex, FrameworkElement, Rect)
    TreeGridCellRendererBase.Measure(RowColumnIndex, FrameworkElement, Size)
    TreeGridCellRendererBase.PrepareUIElements(TreeDataColumnBase, Object, Boolean)
    TreeGridCellRendererBase.UnloadUIElements(TreeDataColumnBase)
    TreeGridCellRendererBase.ITreeGridCellRenderer.UpdateBindingInfo(TreeDataColumnBase, Object, Boolean)
    TreeGridCellRendererBase.UpdateBindingInfo(TreeDataColumnBase, Object, Boolean)
    TreeGridCellRendererBase.PreviewTextInput(TextCompositionEventArgs)
    TreeGridCellRendererBase.GetControlValue()
    TreeGridCellRendererBase.SetControlValue(Object)
    TreeGridCellRendererBase.SetCurrentCellState(RowColumnIndex, FrameworkElement, Boolean, Boolean, TreeGridColumn, TreeDataColumnBase)
    TreeGridCellRendererBase.UpdateCurrentCellState(FrameworkElement, Boolean)
    TreeGridCellRendererBase.ResetCurrentCellState()
    TreeGridCellRendererBase.SetFocus(Boolean)
    TreeGridCellRendererBase.RaiseCurrentCellValidatingEvent(SfTreeGrid, TreeGridColumn, Object, Object, Object, Object, TreeNode)
    TreeGridCellRendererBase.RaiseCurrentCellValidatedEvent(SfTreeGrid, TreeGridColumn, Object, Object, Object, TreeNode)
    TreeGridCellRendererBase.RaiseCurrentCellValueChangedEvent(SfTreeGrid, TreeDataColumnBase)
    TreeGridCellRendererBase.BeginEdit(RowColumnIndex, FrameworkElement, TreeGridColumn, Object)
    TreeGridCellRendererBase.EndEdit(TreeDataColumnBase, Object, Boolean)
    TreeGridCellRendererBase.UpdateSource(FrameworkElement)
    TreeGridCellRendererBase.ClearRecycleBin()
    TreeGridCellRendererBase.Dispose()
    TreeGridCellRendererBase.Dispose(Boolean)
    TreeGridCellRendererBase.UpdateCellStyle(TreeDataColumn)
    TreeGridCellRendererBase.OnUpdateStyleInfo(TreeDataColumn)
    TreeGridCellRendererBase.PreviewInputText
    TreeGridCellRendererBase.TreeGrid
    TreeGridCellRendererBase.BindingExpression
    TreeGridCellRendererBase.SupportsRenderOptimization
    TreeGridCellRendererBase.UseOnlyRendererElement
    TreeGridCellRendererBase.HasCurrentCellState
    TreeGridCellRendererBase.CurrentCellIndex
    TreeGridCellRendererBase.CurrentCellElement
    TreeGridCellRendererBase.CurrentCellRendererElement
    TreeGridCellRendererBase.IsInEditing
    TreeGridCellRendererBase.IsFocused
    TreeGridCellRendererBase.IsEditable
    TreeGridCellRendererBase.IsFocusable
    TreeGridCellRendererBase.IsDropDownable
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.TreeGrid.Cells
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class TreeGridCellTemplateRenderer : TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>, ITreeGridCellRenderer, IDisposable

    Constructors

    TreeGridCellTemplateRenderer()

    Declaration
    public TreeGridCellTemplateRenderer()

    Methods

    CanValidate()

    Determines whether the cell validation is allowed.

    Declaration
    public override bool CanValidate()
    Returns
    Type Description
    System.Boolean

    true if cell validation is allowed; otherwise false.

    Overrides
    TreeGridCellRendererBase.CanValidate()

    InitializeCellStyle(TreeDataColumnBase, Object)

    Initializes the custom style for cell when the corresponding API's and Selectors are used.

    Declaration
    protected override void InitializeCellStyle(TreeDataColumnBase dataColumn, object record)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn

    The corresponding TreeDataColumnBase.

    System.Object record

    The corresponding record to initialize cell style.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.InitializeCellStyle(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, System.Object)

    OnArrange(RowColumnIndex, FrameworkElement, Rect)

    Invoked when the visual children of cell is arranged in view.

    Declaration
    protected override void OnArrange(RowColumnIndex cellRowColumnIndex, FrameworkElement uiElement, Rect cellRect)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex

    The corresponding row and column index of the cell.

    System.Windows.FrameworkElement uiElement

    The corresponding UiElement that is to be arranged

    System.Windows.Rect cellRect

    The corresponding size of cell element for arranging the UIElement

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.OnArrange(Syncfusion.UI.Xaml.ScrollAxis.RowColumnIndex, System.Windows.FrameworkElement, System.Windows.Rect)

    OnEditingComplete(TreeDataColumnBase, FrameworkElement)

    Invoked when the editing is completed on the cell.

    Declaration
    protected override void OnEditingComplete(TreeDataColumnBase dataColumn, FrameworkElement currentRendererElement)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn

    The corresponding datacolumn of the cell.

    System.Windows.FrameworkElement currentRendererElement

    The corresponding renderer element of the cell.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.OnEditingComplete(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, System.Windows.FrameworkElement)

    OnEnteredEditMode(TreeDataColumnBase, FrameworkElement)

    Invoked when the cell is being entered on the edit mode.

    Declaration
    protected override void OnEnteredEditMode(TreeDataColumnBase dataColumn, FrameworkElement currentRendererElement)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn

    The corresponding TreeDataColumnBase.

    System.Windows.FrameworkElement currentRendererElement

    The corresponding renderer element in edit mode.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.OnEnteredEditMode(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, System.Windows.FrameworkElement)

    OnInitializeDisplayElement(TreeDataColumnBase, ContentControl, Object)

    Method which initialize the display element.

    Declaration
    public override void OnInitializeDisplayElement(TreeDataColumnBase dataColumn, ContentControl uiElement, object dataContext)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn

    Specifies the corresponding TreeDataColumnBase.

    System.Windows.Controls.ContentControl uiElement

    Specifies the corresponding renderer element

    System.Object dataContext

    Specifies the data context of the cell.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRenderer<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.OnInitializeDisplayElement(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, System.Windows.Controls.ContentControl, System.Object)

    OnInitializeEditElement(TreeDataColumnBase, ContentControl, Object)

    Method which is used to initialize the renderer element bindings with corresponding column values.

    Declaration
    public override void OnInitializeEditElement(TreeDataColumnBase dataColumn, ContentControl uiElement, object dataContext)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn

    Specifies the corresponding TreeDataColumnBase.

    System.Windows.Controls.ContentControl uiElement

    Specifies the corresponding renderer element.

    System.Object dataContext

    Specifies the data context of the cell.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRenderer<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.OnInitializeEditElement(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, System.Windows.Controls.ContentControl, System.Object)

    OnInitializeTemplateElement(TreeDataColumnBase, ContentControl, Object)

    Called when initialize template element.

    Declaration
    public override void OnInitializeTemplateElement(TreeDataColumnBase dataColumn, ContentControl uiElement, object dataContext)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn

    Specifies the corresponding TreeDataColumnBase.

    System.Windows.Controls.ContentControl uiElement

    Specifies the corresponding renderer element.

    System.Object dataContext

    Specifies the data context of the cell.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRenderer<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.OnInitializeTemplateElement(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, System.Windows.Controls.ContentControl, System.Object)

    OnUnwireDisplayUIElement(ContentControl)

    Unwires the events associated with display UIElement of the cell.

    Declaration
    protected override void OnUnwireDisplayUIElement(ContentControl uiElement)
    Parameters
    Type Name Description
    System.Windows.Controls.ContentControl uiElement

    The corresponding display UIElement to unwire its events.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.OnUnwireDisplayUIElement(System.Windows.Controls.ContentControl)

    OnUnwireEditUIElement(ContentControl)

    Unwires the events associated with edit UIElement.

    Declaration
    protected override void OnUnwireEditUIElement(ContentControl uiElement)
    Parameters
    Type Name Description
    System.Windows.Controls.ContentControl uiElement

    The corresponding edit UIElement to unwire its events.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.OnUnwireEditUIElement(System.Windows.Controls.ContentControl)

    OnUpdateEditBinding(TreeDataColumnBase, ContentControl, Object)

    Updates the binding for edit element of cell in column.

    Declaration
    public override void OnUpdateEditBinding(TreeDataColumnBase dataColumn, ContentControl uiElement, object dataContext)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn

    The corresponding dataColumn where the cell is located.

    System.Windows.Controls.ContentControl uiElement

    The corresponding element to update binding of edit element.

    System.Object dataContext

    The data context of the cell.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRenderer<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.OnUpdateEditBinding(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, System.Windows.Controls.ContentControl, System.Object)

    ShouldGridTryToHandleKeyDown(KeyEventArgs)

    Handles the key interaction with editor of corresponding column.

    Declaration
    protected override bool ShouldGridTryToHandleKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e

    The System.Windows.Input.KeyEventArgs instance containing the event data.

    Returns
    Type Description
    System.Boolean

    True if the parent grid should be allowed to handle keys; false otherwise.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRenderer<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.ShouldGridTryToHandleKeyDown(System.Windows.Input.KeyEventArgs)

    Implements

    ITreeGridCellRenderer
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved