[]
        
A helper class for drawing tables on a GcGraphics.
This class is based on the layout engine (see LayoutHost and related classes), and supports drawing simple or complex tables with merged, rotated, auto-sized, multilayer cells with customizable styles. Table cells can contain simple text, multi-formatted TextLayout, or owner-drawn content.
public class TableRenderer
  Public Class TableRenderer
  | Name | Description | 
|---|---|
| TableRenderer(GcGraphics, LayoutRect, FixedTableSides, int, int, Color, float, float?, float?, float?, float, float, float, float) | Initializes a new instance of the TableRenderer class.  | 
      
| Name | Description | 
|---|---|
| Cells | Gets a read-only list of all table cells.  | 
      
| ColumnCount | Gets the number of columns in the table.  | 
      
| ColumnRects | Gets the array of column LayoutRects.  | 
      
| DefaultCellStyle | Gets or sets the default CellStyle.  | 
      
| Graphics | Gets a GcGraphics used for creating TextLayout objects.  | 
      
| GridLineColor | Gets or sets the color of grid lines.  | 
      
| HorizontalGridLineRects | Gets the array of LayoutRects for horizontal grid lines.  | 
      
| this[int, int] | Gets a regular table cell at the specified  Background and foreground cells can be obtained with the Cells property.  | 
      
| RowCount | Gets the number of rows in the table.  | 
      
| RowRects | Gets the array of row LayoutRects.  | 
      
| TableFrameStyle | Gets or sets the style of the outer table frame.  | 
      
| TableRect | Gets a LayoutRect for the table.  | 
      
| VerticalGridLineRects | Gets the array of LayoutRects for vertical grid lines.  | 
      
| Name | Description | 
|---|---|
| AddCell(CellStyle, int, int, int, int) | Creates an empty table cell with given style at the specified position.  | 
      
| AddCell(CellStyle, int, int, int, int, object) | Creates a table cell with given style and a new TextLayout inside.  | 
      
| AddCell(CellStyle, int, int, object) | Creates a table cell with given style and a new TextLayout inside.  | 
      
| AddCell(int, int, int, int) | Creates an empty table cell with default style at the specified position.  | 
      
| AddCell(int, int, int, int, object) | Creates a table cell with default style and a new TextLayout inside.  | 
      
| AddCell(int, int, object) | Creates a table cell with default style and a new TextLayout inside.  | 
      
| AddMissingCells(CellStyle) | Adds empty regular cells to fill out the gaps in the table.  | 
      
| AddMissingCells(CellStyle, int, int, int, int) | Adds empty regular cells to fill out the gaps in the specified rectangular range of table cells.  | 
      
| AddMissingCells(CellStyle, int, int, int, int, object) | Adds the regular cells to fill out the gaps in the specified rectangular range of table cells.  | 
      
| AddMissingCells(CellStyle, object) | Adds the regular cells to fill out the gaps in the table.  | 
      
| AddMissingCells(int, int, int, int) | Adds empty regular cells to fill out the gaps in the specified rectangular range of table cells.  | 
      
| AddMissingCells(int, int, int, int, object) | Adds the regular cells to fill out the gaps in the specified rectangular range of table cells.  | 
      
| ApplyCellConstraints() | Performs layout of the table cells. Execute this method after adding all cells to the table.  | 
      
| Render(GcGraphics) | Draws the table to a GcGraphics.  | 
      
| SetHorizontalGridLineWidth(int, float) | Sets the width of horizontal grid line with a specified index.  | 
      
| SetVerticalGridLineWidth(int, float) | Sets the width of vertical grid line with a specified index.  |