Class GridCellTextBlockRenderer
Represents a class that maintains the rendering of System.Windows.Controls.TextBlock in SfDataGrid.
Inheritance
System.Object
GridVirtualizingCellRendererBase<System.Windows.Controls.TextBlock, System.Windows.Controls.TextBlock>
GridCellTextBlockRenderer
Inherited Members
GridCellRendererBase.RaiseCurrentCellValidatingEvent(SfDataGrid, GridColumn, Object, Object, Object)
Namespace: Syncfusion.UI.Xaml.Grid.Cells
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class GridCellTextBlockRenderer : GridVirtualizingCellRenderer<TextBlock, TextBlock>, IGridCellRenderer, IDisposable
Constructors
GridCellTextBlockRenderer()
Initializes a new instance of GridCellTextBlockRenderer class.
Declaration
public GridCellTextBlockRenderer()
Methods
OnInitializeEditElement(DataColumnBase, TextBlock, Object)
Method which is used to initialize the renderer element bindings with corresponding column values.
Declaration
public override void OnInitializeEditElement(DataColumnBase dataColumn, TextBlock uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. |
System.Windows.Controls.TextBlock | uiElement | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the data context of the cell. |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<System.Windows.Controls.TextBlock, System.Windows.Controls.TextBlock>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, System.Windows.Controls.TextBlock, System.Object)
Implements
System.IDisposable