C# Class PdfRpt.FluentInterface.MainTableAdHocColumnsConventionsBuilder

Conventions Builder Class.
Afficher le fichier Open project: VahidN/PdfReport Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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

AddColumnDisplayFormatFormula() public méthode

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
Résultat void

AddColumnItemsTemplate() public méthode

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
Résultat void

AddTypeAggregateFunction() public méthode

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
Résultat void

AddTypeColumnItemsTemplate() public méthode

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
Résultat void

AddTypeDisplayFormatFormula() public méthode

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
Résultat void

RowNumberColumnCaption() public méthode

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

ShowRowNumberColumn() public méthode

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