C# Class PdfRpt.FluentInterface.MainTableAdHocColumnsConventionsBuilder

Conventions Builder Class.
ファイルを表示 Open project: VahidN/PdfReport Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddColumnAggregateFunction ( string name, IAggregateFunction func ) : void

Here you can assign an AggregateFunction to the specific column name.

AddColumnDisplayFormatFormula ( string name, string>.Func func ) : void

Here you can control how cells should be rendered based on their column names. ColumnNamesDisplayFormatFormulas has higher priority.

AddColumnItemsTemplate ( string name, IColumnItemsTemplate template ) : void

Custom template of the in use property, controls how and what should be rendered based on their column names in each cell of this column. It can be null. If you don't set it, new DisplayAsText() template will be used automatically.

AddTypeAggregateFunction ( Type type, IAggregateFunction func ) : void

Here you can assign an AggregateFunction to the specific data type. ColumnNamesAggregateFunctions has higher priority.

AddTypeColumnItemsTemplate ( Type type, IColumnItemsTemplate template ) : void

Custom template of the in use property, controls how and what should be rendered in each cell of this column. It can be null. If you don't set it, new DisplayAsText() template will be used automatically. ColumnNamesItemsTemplates has higher priority.

AddTypeDisplayFormatFormula ( Type type, string>.Func func ) : void

Here you can control how cells should be rendered based on their specific data types.

RowNumberColumnCaption ( string caption ) : void

Sets the caption of auto generated row # column.

ShowRowNumberColumn ( bool show ) : void

Sets the visibility of auto generated row # column.

Method Details

AddColumnAggregateFunction() public method

Here you can assign an AggregateFunction to the specific column name.
public AddColumnAggregateFunction ( string name, IAggregateFunction func ) : void
name string
func IAggregateFunction
return void

AddColumnDisplayFormatFormula() public method

Here you can control how cells should be rendered based on their column names. ColumnNamesDisplayFormatFormulas has higher priority.
public AddColumnDisplayFormatFormula ( string name, string>.Func func ) : void
name string
func string>.Func
return void

AddColumnItemsTemplate() public method

Custom template of the in use property, controls how and what should be rendered based on their column names in each cell of this column. It can be null. If you don't set it, new DisplayAsText() template will be used automatically.
public AddColumnItemsTemplate ( string name, IColumnItemsTemplate template ) : void
name string
template IColumnItemsTemplate
return void

AddTypeAggregateFunction() public method

Here you can assign an AggregateFunction to the specific data type. ColumnNamesAggregateFunctions has higher priority.
public AddTypeAggregateFunction ( Type type, IAggregateFunction func ) : void
type Type
func IAggregateFunction
return void

AddTypeColumnItemsTemplate() public method

Custom template of the in use property, controls how and what should be rendered in each cell of this column. It can be null. If you don't set it, new DisplayAsText() template will be used automatically. ColumnNamesItemsTemplates has higher priority.
public AddTypeColumnItemsTemplate ( Type type, IColumnItemsTemplate template ) : void
type Type
template IColumnItemsTemplate
return void

AddTypeDisplayFormatFormula() public method

Here you can control how cells should be rendered based on their specific data types.
public AddTypeDisplayFormatFormula ( Type type, string>.Func func ) : void
type Type
func string>.Func
return void

RowNumberColumnCaption() public method

Sets the caption of auto generated row # column.
public RowNumberColumnCaption ( string caption ) : void
caption string
return void

ShowRowNumberColumn() public method

Sets the visibility of auto generated row # column.
public ShowRowNumberColumn ( bool show ) : void
show bool
return void