Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / Section Class / Fields Property

In This Topic
    Fields Property (Section)
    In This Topic
    Returns a collection of all fields in this Section.
    Syntax
    'Declaration
     
    Public ReadOnly Property Fields As FieldCollection
    public FieldCollection Fields {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:

    _c1r.Sections.Detail.Fields.Add("new field", "CompanyLogo", rc);
    See Also