Class GridCellTextBlockRenderer
Represents a class that maintains the rendering of Microsoft.UI.Xaml.Controls.TextBlock in SfDataGrid.
Inheritance
System.Object
GridVirtualizingCellRendererBase<Microsoft.UI.Xaml.Controls.TextBlock, Microsoft.UI.Xaml.Controls.TextBlock>
GridVirtualizingCellRenderer<Microsoft.UI.Xaml.Controls.TextBlock, Microsoft.UI.Xaml.Controls.TextBlock>
GridCellTextBlockRenderer
Inherited Members
Namespace: Syncfusion.UI.Xaml.DataGrid.Renderers
Assembly: Syncfusion.Grid.WinUI.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. |
Microsoft.UI.Xaml.Controls.TextBlock | uiElement | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the data context of the cell. |
Overrides
Syncfusion.UI.Xaml.DataGrid.Renderers.GridVirtualizingCellRenderer<Microsoft.UI.Xaml.Controls.TextBlock, Microsoft.UI.Xaml.Controls.TextBlock>.OnInitializeEditElement(Syncfusion.UI.Xaml.DataGrid.DataColumnBase, Microsoft.UI.Xaml.Controls.TextBlock, System.Object)
Implements
System.IDisposable