Returns a collection of all fields in this Section.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
[BrowsableAttribute(false)]
public FieldCollection Fields { get; }
Visual Basic
<BrowsableAttribute(False)> _
Public ReadOnly Property Fields As FieldCollection
	Get

Remarks

The Fields collection contains all Field objects defined in the current section.

When you add a field to a section's Fields collection, the field is automatically assigned to the section that owns the collection. For example, the code below adds a field to the Detail section:

Copy CodeC#
_c1r.Sections.Detail.Fields.Add("new field", "CompanyLogo", rc);

See Also