C# Класс PdfRpt.FluentInterface.MainTableAdHocColumnsConventionsBuilder

Conventions Builder Class.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

AddColumnAggregateFunction() публичный Метод

Here you can assign an AggregateFunction to the specific column name.
public AddColumnAggregateFunction ( string name, IAggregateFunction func ) : void
name string
func IAggregateFunction
Результат void

AddColumnDisplayFormatFormula() публичный Метод

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
Результат void

AddColumnItemsTemplate() публичный Метод

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
Результат void

AddTypeAggregateFunction() публичный Метод

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
Результат void

AddTypeColumnItemsTemplate() публичный Метод

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
Результат void

AddTypeDisplayFormatFormula() публичный Метод

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
Результат void

RowNumberColumnCaption() публичный Метод

Sets the caption of auto generated row # column.
public RowNumberColumnCaption ( string caption ) : void
caption string
Результат void

ShowRowNumberColumn() публичный Метод

Sets the visibility of auto generated row # column.
public ShowRowNumberColumn ( bool show ) : void
show bool
Результат void