FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.CustomFields.4.5.2 Assembly / C1.Win.FlexReport.CustomFields Namespace / Map Class / Calculated Property

In This Topic
    Calculated Property (Map)
    In This Topic
    Specifies whether the C1.Win.FlexReport.Field.Text property should be interpreted as a literal value or as a calculated expression.
    Syntax
    'Declaration
     
    Public Property Calculated As Boolean
    public bool Calculated {get; set;}
    Remarks

    If this property is set to false, the value of the C1.Win.FlexReport.Field.Text property is rendered on the report without any further processing.

    If it is set to true, the value of the C1.Win.FlexReport.Field.Text property is evaluated as a VBScript expression and the result of the expression is rendered on the report.

    Example
    The code below creates two fields. One displays the label "Sales Tax", the other displays the tax value by multiplying a database field ("Sales") by a constant.
    See Also