[]
Gets or sets the field name.
public override string Name { get; set; }
<p>The field name can be used as an index into the control's <xref href="C1.WPF.FlexReport.C1FlexReport.Fields" data-throw-if-not-resolved="false"></xref> collection.</p>
<p>Field names are also used to identify fields in <b>VBScript</b> expressions, as shown in the example
below.
Duplicate and empty field names are allowed, but should be avoided if you plan to use the field names in scripts or as indexers.
The code below assigns a script to the report's Detail section. The script changes a field's ForeColor property depending on a value.
_c1r.Sections.Fields["sampleField"].ForeColor = Color.Black;
_c1r.Sections.Detail.OnFormat =
"sampleField.ForeColor = iif(someValue < 5, vbRed, vbBlack)";