Class GridCellDataTemplateRenderer
Inheritance
System.Object
GridVirtualizingCellRendererBase<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>
GridVirtualizingCellRenderer<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>
GridCellDataTemplateRenderer
Inherited Members
GridCellRendererBase.RaiseCurrentCellValidatingEvent(SfDataGrid, GridColumn, Object, Object, Object)
Namespace: Syncfusion.UI.Xaml.Grid.Cells
Assembly: Syncfusion.SfGrid.WPF.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 |
System.Windows.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 |
System.Windows.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 | |
System.Windows.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 | |
System.Windows.Controls.ContentControl | uiElement | |
System.Object | dataContext |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<System.Windows.Controls.ContentControl, System.Windows.Controls.ContentControl>.OnUpdateTemplateBinding(Syncfusion.UI.Xaml.Grid.DataColumnBase, System.Windows.Controls.ContentControl, System.Object)
Implements
System.IDisposable