Class GridCellTextBlockRenderer
Renders a TextBlock control inside a grid cell.
Inheritance
System.Object
GridVirtualizingCellRendererBase<System.Windows.Controls.Border>
GridVirtualizingCellRenderer<System.Windows.Controls.Border>
GridCellTextBlockRenderer
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCellTextBlockRenderer : GridVirtualizingCellRenderer<Border>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
GridCellTextBlockRenderer()
Initializes a new GridCellTextBlockRenderer.
Declaration
public GridCellTextBlockRenderer()
Methods
CreateRendererElement(Border, GridRenderStyleInfo)
Declaration
public override void CreateRendererElement(Border border, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Border | border | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.Border>.CreateRendererElement(System.Windows.Controls.Border, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
GetControlTextFromEditorCore(Border)
Declaration
protected override string GetControlTextFromEditorCore(Border border)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Border | border |
Returns
Type |
---|
System.String |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.Border>.GetControlTextFromEditorCore(System.Windows.Controls.Border)
OnInitializeContent(Border, GridRenderStyleInfo)
Initializes the content of the cell using the information from the cell style (value, text, behavior etc.).
Declaration
public override void OnInitializeContent(Border border, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Border | border | |
GridRenderStyleInfo | style | The cell style info. |
Overrides
Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.Border>.OnInitializeContent(System.Windows.Controls.Border, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
OnRender(DrawingContext, RenderCellArgs, GridRenderStyleInfo)
Declaration
protected override void OnRender(DrawingContext dc, RenderCellArgs rca, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.DrawingContext | dc | |
RenderCellArgs | rca | |
GridRenderStyleInfo | style |
Overrides
Syncfusion.Windows.Controls.Cells.CellRendererBase<Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo>.OnRender(System.Windows.Media.DrawingContext, Syncfusion.Windows.Controls.Cells.RenderCellArgs, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)
Implements
System.IDisposable