Class GridCellDataTemplateRenderer
Inheritance
System.Object
GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.ContentControl, Windows.UI.Xaml.Controls.ContentControl>
GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.ContentControl, Windows.UI.Xaml.Controls.ContentControl>
GridCellDataTemplateRenderer
Inherited Members
GridCellRendererBase.RaiseCurrentCellValidatingEvent(SfDataGrid, GridColumn, Object, Object, Object)
Namespace: Syncfusion.UI.Xaml.Grid.Cells
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridCellDataTemplateRenderer : GridCellTemplateRenderer, IGridCellRenderer, IDisposable
Constructors
GridCellDataTemplateRenderer()
Declaration
public GridCellDataTemplateRenderer()
Methods
InitializeCellStyle(DataColumnBase, Object)
Initializes the cell style.
Declaration
protected override void InitializeCellStyle(DataColumnBase dataColumn, object record)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | DataColumn Which holds GridColumn, RowColumnIndex and GridCell |
System.Object | record | The record. |
Overrides
OnInitializeDisplayElement(DataColumnBase, ContentControl, Object)
Called when [initialize display element].
Declaration
public override void OnInitializeDisplayElement(DataColumnBase dataColumn, ContentControl uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | DataColumn Which holds GridColumn, RowColumnIndex and GridCell |
Windows.UI.Xaml.Controls.ContentControl | uiElement | Corresponding Renderer Element |
System.Object | dataContext | The data context. |
Overrides
OnInitializeEditElement(DataColumnBase, ContentControl, Object)
Called when [initialize edit element].
Declaration
public override void OnInitializeEditElement(DataColumnBase dataColumn, ContentControl uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | DataColumn Which holds GridColumn, RowColumnIndex and GridCell |
Windows.UI.Xaml.Controls.ContentControl | uiElement | Corresponding Renderer Element |
System.Object | dataContext | The data context. |
Overrides
OnInitializeTemplateElement(DataColumnBase, ContentControl, Object)
Declaration
public override void OnInitializeTemplateElement(DataColumnBase dataColumn, ContentControl uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | |
Windows.UI.Xaml.Controls.ContentControl | uiElement | |
System.Object | dataContext |
Overrides
OnUpdateTemplateBinding(DataColumnBase, ContentControl, Object)
Declaration
public override void OnUpdateTemplateBinding(DataColumnBase dataColumn, ContentControl uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | |
Windows.UI.Xaml.Controls.ContentControl | uiElement | |
System.Object | dataContext |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.ContentControl, Windows.UI.Xaml.Controls.ContentControl>.OnUpdateTemplateBinding(Syncfusion.UI.Xaml.Grid.DataColumnBase, Windows.UI.Xaml.Controls.ContentControl, System.Object)
Implements
System.IDisposable