WinUI

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

    Show / Hide Table of Contents

    Namespace Syncfusion.UI.Xaml.TreeGrid.Renderers

    Classes

    TreeGridCellCheckBoxRenderer

    Represents the class that maintains the rendering of TreeGridCheckBoxColumn

    TreeGridCellComboBoxRenderer

    Represents the class that loads the SfComboBox as editor for TreeGridComboBoxColumn.

    TreeGridCellDateRenderer

    Represents the class that loads the SfCalendarDatePicker as editor for TreeGridDateColumn.

    TreeGridCellHyperlinkRenderer

    Represents the class that loads the Microsoft.UI.Xaml.Controls.HyperlinkButton as editor for TreeGridHyperlinkColumn.

    TreeGridCellNumericRenderer

    Represents the class that loads the SfNumberBox as editor for TreeGridNumericColumn.

    TreeGridCellRendererBase

    Represents a class that provides default implementation of the ITreeGridCellRenderer interface for a cell renderer. You should derive from this class to implement custom cell renderer classes. There is however no dependency on TreeGridCellRendererBase inside of the control.

    If you want to implement a renderer with support for live UIElements inside the cell you should derive from the TreeGridVirtualizingCellRendererBase<D, E> or grid adapted GridVirtualizingCellRendererBase classes.

    TreeGridCellRendererCollection

    Represents a collection of TreeGridCellRendererBase objects in the view.

    TreeGridCellTemplateRenderer

    Represents a class that maintains the rendering of TreeGridTemplateColumn.

    TreeGridCellTextBlockRenderer

    Represents a class that maintains the rendering of Microsoft.UI.Xaml.Controls.TextBlock in SfTreeGrid.

    TreeGridCellTextBoxRenderer

    Represents a class that maintains the rendering of TreeGridTextColumn.

    TreeGridCellTimeRenderer

    Represents the class that loads the SfTimePicker as editor for TreeGridTimeColumn.

    TreeGridHeaderCellRenderer

    Represents a class that maintains the rendering of TreeGridHeaderCell in SfTreeGrid.

    TreeGridRowHeaderCellRenderer

    Represents a class that maintains the rendering of TreeGridRowHeaderCell in SfTreeGrid.

    TreeGridStackedHeaderCellRenderer

    Represents a class that maintains the rendering of TreeGridStackedHeaderCell in SfTreeGrid.

    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.Renderers.TreeGridVirtualizingCellRendererBase`2.WireEditUIElement(`1) and Syncfusion.UI.Xaml.TreeGrid.Renderers.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 - 2022 Syncfusion Inc. All Rights Reserved