FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / Section Class / Fields Property

In This Topic
    Fields Property (Section)
    In This Topic
    Gets 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