Syncfusion.SfGrid.WPF
Members 


Syncfusion.UI.Xaml.Grid.Cells Namespace : GridVirtualizingCellRendererBase<D,E> Class
The type of the UIElement that should be placed inside cells in display mode.
The type of the UIElement that should be placed inside cells in edit mode.

GridVirtualizingCellRendererBase<D,E> Class

VirtualizingCellRendererBase 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 WireEditUIElement and UnwireEditUIElement 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.

Object Model
GridVirtualizingCellRendererBase<D,E> ClassRowColumnIndex StructureSfDataGrid Class
Syntax
'Declaration
 
<ClassReferenceAttribute(False)>
Public MustInherit Class GridVirtualizingCellRendererBase
    (Of D As {New, FrameworkElement},
     E As {New, FrameworkElement}) 
   Inherits GridCellRendererBase
   Implements IGridCellRenderer 
[ClassReference(false)]
public abstract class GridVirtualizingCellRendererBase<D,E> : GridCellRendererBase, IGridCellRenderer  
where D: new(), FrameworkElement
where E: new(), FrameworkElement
Type Parameters
D
The type of the UIElement that should be placed inside cells in display mode.
E
The type of the UIElement that should be placed inside cells in edit mode.
Inheritance Hierarchy

System.Object
   Syncfusion.UI.Xaml.Grid.Cells.GridCellRendererBase
      Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<D,E>
         Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<D,E>

AssemblyVersion

Syncfusion.SfGrid.WPF: 17.3460.0.26

See Also