Interface IColumnBuilder<TObject>
Class that describes a data selector for generating a data column within a table.
Namespace: TheXDS.MCART.Types
Assembly: MCART.Wpf.FlowDocumentExtensions.dll
Syntax
public interface IColumnBuilder<TObject>
Type Parameters
| Name | Description |
|---|---|
| TObject | Type of object from which the information for the column will be extracted. |
Properties
| Edit this page View SourceHeader
Title of the column.
Declaration
string Header { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceContent(TObject)
Content of the current row to be set in this column.
Declaration
string Content(TObject obj)
Parameters
| Type | Name | Description |
|---|---|---|
| TObject | obj | Object from which to extract the content. |
Returns
| Type | Description |
|---|---|
| string | The content in string format to be placed within the cell corresponding to this column in the current row. |
Style(object?)
Gets a style to be used on the cell in this column of the current row.
Declaration
ICellStyle? Style(object? item)
Parameters
| Type | Name | Description |
|---|---|---|
| object | item |
Returns
| Type | Description |
|---|---|
| ICellStyle | A style to apply to the generated cell, or null if it is not possible to obtain a valid style. |