UWP

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Namespace Syncfusion.UI.Xaml.TreeGrid.Cells - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Namespace Syncfusion.UI.Xaml.TreeGrid.Cells

    Classes

    TreeGridCellCheckBoxRenderer
    TreeGridCellComboBoxRenderer
    TreeGridCellDateTimeRenderer
    TreeGridCellHyperlinkRenderer
    TreeGridCellNumericRenderer
    TreeGridCellRendererBase
    TreeGridCellRendererCollection

    Represents a collection of TreeGridCellRendererBase objects in the view.

    TreeGridCellTemplateRenderer
    TreeGridCellTextBlockRenderer
    TreeGridCellTextBoxRenderer
    TreeGridDataContextHelper

    Represents a class which is used as DataContext for the TreeGrid with Template and Syncfusion.UI.Xaml.TreeGrid.TreeGridColumn.SetCellBoundValue TreeGridColumn value is true.

    TreeGridHeaderCellRenderer
    TreeGridRowHeaderCellRenderer
    TreeGridStackedHeaderCellRenderer

    Specifies the implementation to render the StackedHeaderCell

    TreeGridVirtualizingCellRenderer<D, E>

    TreeGridVirtualizingCellRenderer is an abstract base class for cell renderers that need live UIElement visuals displayed in a cell. You can derive from this class and provide the type of the UIElement you want to show inside cells as type parameter. The class provides strong typed virtual methods for initializing content of the cell and arranging the cell visuals. See TreeGridVirtualizingCellRendererBase{T} for more details.

    The idea behind this class is to provide a place where we can add general code that should be shared for all cell renderers in the tree derived from TreeGridVirtualizingCellRendererBase. While this class does at the moment not add meaningful functionality to TreeGridVirtualizingCellRendererBase we created this extra layer of inheritance to make it easy to share code for the TreeGridVirtualizingCellRendererBase base class between grid and common assemblies and keep grid control specific code out of the base class. It is currently not possible with C# to the base class as template type parameter.

    TreeGridVirtualizingCellRendererBase<D, E>

    TreeGridVirtualizingCellRendererBase is an abstract base class for cell renderers that need live UIElement visuals displayed in a cell. You can derive from this class and provide the type of the UIElement you want to show inside cells as type parameter. The class provides strong typed virtual methods for initializing content of the cell and arranging the cell visuals.

    The class manages the creation of cells UIElement objects when the cell is scrolled into view and also unloading of the elements. The class offers an optimization in which elements can be recycled when AllowRecycle is set. In this case when a cell is scrolled out of view it is moved into a recycle bin and the next time a new element is scrolled into view the element is recovered from the recycle bin and reinitialized with the new content of the cell.

    when the user moves the mouse over the cell or if the UIElement is needed for other reasons.

    After a UIElement was created the virtual methods Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase`2.WireEditUIElement(`1) and Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase`2.UnwireEditUIElement(`1) are called to wire any event listeners.

    Updates to appearance and content of child elements, creation and unloading of elements will not trigger ArrangeOverride or Render calls in parent canvas.

    VirtualizingCellUIElementBin<T>

    Represents a class that implements a cache of UIElement of the given type parameter T. It is used by the TreeGridVirtualizingCellRendererBase renderer to recycle UIElement for cells that were scrolled out of view and delay unloading of UIElements. This reduces the number of times the UIElement needs to be created or unloaded , instead only the contents of the UIElement will be reinitialized with cell contents.

    Interfaces

    ITreeGridCellRenderer

    Provides the functionality for all cell renderers in the SfTreeGrid.

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved