0e07da86 a01a 2273 c038 ebeca9079cfd - iAJTin/iExportEngine GitHub Wiki
Additional header content
Gets or sets a reference that contains the visual setting of header the data field.
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public FieldHeaderModel Header { get; set; }VB
Public Property Header As FieldHeaderModel
Get
SetType: FieldHeaderModel
Visual setting of header the data field.
ITEE Object Element Usage
<Field|Fixed|Gap|Group ...>
<Header .../>
...
</Field|Fixed|Gap|Group>Compatibility table with native writers.
| Comma-Separated Values CsvWriter |
Tab-Separated Values TsvWriter |
SQL Script SqlScriptWriter |
XML Spreadsheet 2003 Spreadsheet2003TabularWriter |
|---|---|---|---|
| No has effect | No has effect | No has effect | X |
X value indicates that the writer supports this element.
In the following example shows how create a data field.
XML
<Field Name="##LINE" Alias="Line">
<Header Style="CommonHeader" Show="Yes"/>
<Value Style="LineValue"/>
<Aggregate Style="TopAggregate" Type="Count" Location="Top" Show="Yes"/>
</Field>C#
DataFieldModel lineField = new DataFieldModel
{
Name = "##LINE",
Alias = "Line",
Value = new FieldValueModel { Style = "LineValue" },
Header = new FieldHeaderModel { Style = "CommonHeader", Show = YesNo.Yes },
Aggregate = new FieldAggregateModel
{
Show = YesNo.Yes,
Style = "TopAggregate",
Location = KnownAggregateLocation.Top,
AggregateType = KnownAggregateType.Count,
},
};