Skip to content

42a2dc46 efe2 e637 5b23 854c5bf69b3d

Fernando Garcia edited this page May 8, 2018 · 1 revision

BaseDataFieldModel.Alias Property

Additional header content

Gets or sets the alias of data field.

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public string Alias { get; set; }

VB

Public Property Alias As String
	Get
	Set

Property Value

Type: String
The alias of data field. This value is used as the column header.

Remarks

ITEE Object Element Usage

<Field|Fixed|Gap|Group Alias="string" ...>
  ...
</Field|Fixed|Gap|Group>

Compatibility table with native writers.

Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
X X X X
A X value indicates that the writer supports this element.

Examples

XML

<Field Name="##LINE" Alias="Line">
...
</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,
                                                   },
                               };

See Also

Reference

BaseDataFieldModel Class
iTin.Export.Model Namespace

Clone this wiki locally