FlexReport for .NET | ComponentOne
C1.Win.FlexReport.CustomFields.4.8 Assembly / C1.Win.FlexReport.CustomFields Namespace / Map Class / Name Property

In This Topic
    Name Property (Map)
    In This Topic
    Gets or sets the field name.
    Syntax
    'Declaration
     
    Public Overridable Property Name As String
    public virtual string Name {get; set;}
    Remarks

    The field name can be used as an index into the control's C1.Win.FlexReport.C1FlexReport.Fields collection.

    Field names are also used to identify fields in VBScript 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.

    Example
    The code below assigns a script to the report's C1.Win.FlexReport.SectionTypeEnum.Detail section. The script changes a field's ForeColor property depending on a value.
    See Also