UWP

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

    Show / Hide Table of Contents

    Class TreeGridCellTemplateRenderer

    Inheritance
    System.Object
    TreeGridCellRendererBase
    TreeGridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.ContentControl, Windows.UI.Xaml.Controls.ContentControl>
    TreeGridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.ContentControl, Windows.UI.Xaml.Controls.ContentControl>
    TreeGridCellTemplateRenderer
    Implements
    ITreeGridCellRenderer
    System.IDisposable
    Inherited Members
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.TextAlignmentToHorizontalAlignment(TextAlignment)
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.CurrentRendererValueChanged()
    TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>.ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs)
    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(KeyRoutedEventArgs)
    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(KeyRoutedEventArgs)
    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(KeyRoutedEventArgs)
    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
    Namespace: Syncfusion.UI.Xaml.TreeGrid.Cells
    Assembly: Syncfusion.SfGrid.UWP.dll
    Syntax
    public class TreeGridCellTemplateRenderer : TreeGridVirtualizingCellRenderer<ContentControl, ContentControl>, ITreeGridCellRenderer, IDisposable

    Constructors

    TreeGridCellTemplateRenderer()

    Declaration
    public TreeGridCellTemplateRenderer()

    Methods

    CanValidate()

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

    InitializeCellStyle(TreeDataColumnBase, Object)

    Initializes the cell style.

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

    DataColumn which holds TreeGridColumn, RowColumnIndex and TreeGridCell

    System.Object record

    The record.

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

    OnArrange(RowColumnIndex, FrameworkElement, Rect)

    Set focus to UIElement loaded in DataTemplate of TreeGridCell on loading. since OnEditElementloaded will not fire for TreeGridCell again when start editing.

    Declaration
    protected override void OnArrange(RowColumnIndex cellRowColumnIndex, FrameworkElement uiElement, Rect cellRect)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex
    Windows.UI.Xaml.FrameworkElement uiElement
    Windows.Foundation.Rect cellRect
    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.ContentControl, Windows.UI.Xaml.Controls.ContentControl>.OnArrange(Syncfusion.UI.Xaml.ScrollAxis.RowColumnIndex, Windows.UI.Xaml.FrameworkElement, Windows.Foundation.Rect)

    OnEditingComplete(TreeDataColumnBase, FrameworkElement)

    Declaration
    protected override void OnEditingComplete(TreeDataColumnBase dataColumn, FrameworkElement currentRendererElement)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn
    Windows.UI.Xaml.FrameworkElement currentRendererElement
    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.ContentControl, Windows.UI.Xaml.Controls.ContentControl>.OnEditingComplete(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, Windows.UI.Xaml.FrameworkElement)

    OnEnteredEditMode(TreeDataColumnBase, FrameworkElement)

    Called when [entered edit mode].

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

    The current renderer element.

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

    OnInitializeDisplayElement(TreeDataColumnBase, ContentControl, Object)

    Method overridden to avoid binding for a content cntrol when cell template is not defined.

    Declaration
    public override void OnInitializeDisplayElement(TreeDataColumnBase dataColumn, ContentControl uiElement, object dataContext)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn
    Windows.UI.Xaml.Controls.ContentControl uiElement
    System.Object dataContext
    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.ContentControl, Windows.UI.Xaml.Controls.ContentControl>.OnInitializeDisplayElement(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, Windows.UI.Xaml.Controls.ContentControl, System.Object)

    OnInitializeEditElement(TreeDataColumnBase, ContentControl, Object)

    Called when [initialize edit element].

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

    TreeDataColumn which holds TreeGridColumn, RowColumnIndex and TreeGridCell

    Windows.UI.Xaml.Controls.ContentControl uiElement

    Corresponding Renderer Element

    System.Object dataContext

    The data context.

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

    OnInitializeTemplateElement(TreeDataColumnBase, ContentControl, Object)

    Called when [initialize display element].

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

    DataColumn which holds TreeGridColumn, RowColumnIndex and TreeGridCell

    Windows.UI.Xaml.Controls.ContentControl uiElement

    Corresponding Renderer Element

    System.Object dataContext

    The data context.

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

    OnUnwireDisplayUIElement(ContentControl)

    Called when [unwire display unique identifier element].

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

    The unique identifier element.

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

    OnUnwireEditUIElement(ContentControl)

    Called when [unwire edit unique identifier element].

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

    The unique identifier element.

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

    OnUpdateEditBinding(TreeDataColumnBase, ContentControl, Object)

    Declaration
    public override void OnUpdateEditBinding(TreeDataColumnBase dataColumn, ContentControl uiElement, object dataContext)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn
    Windows.UI.Xaml.Controls.ContentControl uiElement
    System.Object dataContext
    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.ContentControl, Windows.UI.Xaml.Controls.ContentControl>.OnUpdateEditBinding(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, Windows.UI.Xaml.Controls.ContentControl, System.Object)

    ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs)

    Let Renderer decide whether the parent grid should be allowed to handle keys and prevent the key event from being handled by the visual UIElement for this renderer. If this method returns true the parent grid will handle arrow keys and set the Handled flag in the event data. Keys that the grid does not handle will be ignored and be routed to the UIElement for this renderer.

    Declaration
    protected override bool ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.KeyRoutedEventArgs e

    A Windows.UI.Xaml.Input.KeyRoutedEventArgs object.

    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<Windows.UI.Xaml.Controls.ContentControl, Windows.UI.Xaml.Controls.ContentControl>.ShouldGridTryToHandleKeyDown(Windows.UI.Xaml.Input.KeyRoutedEventArgs)

    Implements

    ITreeGridCellRenderer
    System.IDisposable

    Extension Methods

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