HtmlForgeX

API Reference

Class

TableValueFormatContext

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

Provides context information for formatting a table cell value.

Inheritance

  • Object
  • TableValueFormatContext

Constructors

public TableValueFormatContext(Table table, String header, Object value, Object rowObject, Int32 columnIndex, Int32 rowIndex) #

Initializes a new instance of the TableValueFormatContext class.

Parameters

table HtmlForgeX.Table requiredposition: 0
Table containing the value.
header System.String requiredposition: 1
Header associated with the column.
value System.Object requiredposition: 2
Original cell value.
rowObject System.Object requiredposition: 3
Underlying row object.
columnIndex System.Int32 requiredposition: 4
Zero-based column index.
rowIndex System.Int32 requiredposition: 5
Zero-based row index.

Properties

public Table Table { get; } #

The table that owns the value being formatted.

public String Header { get; } #

The header text associated with the current column.

public Object Value { get; } #

The raw cell value prior to formatting.

public Object RowObject { get; } #

The row object that produced the value, if any.

public Int32 ColumnIndex { get; } #

Zero-based column index.

public Int32 RowIndex { get; } #

Zero-based row index.