Class GridVirtualizingCellRenderer<D, E>
Inheritance
System.Object
GridVirtualizingCellRenderer<D, E>
Implements
System.IDisposable
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public abstract class GridVirtualizingCellRenderer<D, E> : GridVirtualizingCellRendererBase<D, E>, IGridCellRenderer, IDisposable where D : FrameworkElement, new()
where E : FrameworkElement, new()
Type Parameters
Constructors
GridVirtualizingCellRenderer()
Declaration
public GridVirtualizingCellRenderer()
Methods
CreateWrapperInstance(ContentControl, GridStyleInfo)
Declaration
protected virtual GridCellWrapper CreateWrapperInstance(ContentControl uiElement, GridStyleInfo style)
Parameters
Type |
Name |
Description |
System.Windows.Controls.ContentControl |
uiElement |
|
GridStyleInfo |
style |
|
Returns
GetFormattedText(GridStyleInfo)
Declaration
public override string GetFormattedText(GridStyleInfo style)
Parameters
Returns
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<D, E>.GetFormattedText(Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo)
InitializeTemplateElement(ContentControl, GridStyleInfo)
Declaration
protected virtual void InitializeTemplateElement(ContentControl uiElement, GridStyleInfo style)
Parameters
Type |
Name |
Description |
System.Windows.Controls.ContentControl |
uiElement |
|
GridStyleInfo |
style |
|
Declaration
protected override void OnInitializeDisplayElement(RowColumnIndex rowColumnIndex, D uiElement, GridStyleInfo style, string text)
Parameters
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<D, E>.OnInitializeDisplayElement(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, D, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)
Declaration
protected override void OnInitializeEditElement(RowColumnIndex rowColumnIndex, E uiElement, GridStyleInfo style, string text)
Parameters
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<D, E>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, E, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)
OnInitializeTemplateElement(RowColumnIndex, ContentControl, GridStyleInfo)
Declaration
protected override void OnInitializeTemplateElement(RowColumnIndex rowColumnIndex, ContentControl uiElement, GridStyleInfo style)
Parameters
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<D, E>.OnInitializeTemplateElement(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, System.Windows.Controls.ContentControl, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo)
OnRender(RowColumnIndex, DrawingContext, Rect, GridStyleInfo, String, Object)
Declaration
protected override void OnRender(RowColumnIndex cellRowColumnIndex, DrawingContext dc, Rect cellRect, GridStyleInfo style, string text, object textElement)
Parameters
Type |
Name |
Description |
RowColumnIndex |
cellRowColumnIndex |
|
System.Windows.Media.DrawingContext |
dc |
|
System.Windows.Rect |
cellRect |
|
GridStyleInfo |
style |
|
System.String |
text |
|
System.Object |
textElement |
|
Overrides
Declaration
protected override void OnUpdateCellStyle(RowColumnIndex cellRowColumnIndex, D uiElement, GridStyleInfo style, string text)
Parameters
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<D, E>.OnUpdateCellStyle(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, D, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)
Declaration
protected override void OnUpdateEditCellStyle(RowColumnIndex cellRowColumnIndex, E uiElement, GridStyleInfo style, string text)
Parameters
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<D, E>.OnUpdateEditCellStyle(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, E, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)
OnUpdateTemplateElement(ContentControl, GridStyleInfo)
Declaration
protected override void OnUpdateTemplateElement(ContentControl uiElement, GridStyleInfo style)
Parameters
Type |
Name |
Description |
System.Windows.Controls.ContentControl |
uiElement |
|
GridStyleInfo |
style |
|
Overrides
Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<D, E>.OnUpdateTemplateElement(System.Windows.Controls.ContentControl, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo)
Implements
System.IDisposable