Class GridCellTextBlockRenderer
Represents a class that maintains the rendering of Windows.UI.Xaml.Controls.TextBlock in SfDataGrid.
Inheritance
System.Object
GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.TextBlock>
GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.TextBlock>
GridCellTextBlockRenderer
Inherited Members
GridCellRendererBase.RaiseCurrentCellValidatingEvent(SfDataGrid, GridColumn, Object, Object, Object)
Namespace: Syncfusion.UI.Xaml.Grid.Cells
Assembly: Syncfusion.SfGrid.UWP.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. |
Windows.UI.Xaml.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<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.TextBlock>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, Windows.UI.Xaml.Controls.TextBlock, System.Object)
Implements
System.IDisposable