Reports for WPF | ComponentOne
C1.C1Report.CustomFields Namespace / Gradient Class / Text Property

In This Topic
    Text Property (Gradient)
    In This Topic
    Gets or sets the field's text.
    Syntax
    'Declaration
     
    Public Property Text As String
    public string Text {get; set;}
    Remarks

    The Text property contains the text that will be rendered on the report.

    This value may be rendered literally (without any translation) or it may be evaluated as a VBScript expression, depending on the setting of the Calculated property.

    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