FlexReport for .NET | ComponentOne
C1.WPF.Report Assembly / C1.WPF.Report Namespace / TextField Class / Format Property

In This Topic
    Format Property (TextField)
    In This Topic
    Gets or sets a string used to format the field value.
    Syntax
    'Declaration
     
    Public Property Format As String
    public string Format {get; set;}
    Remarks

    You can use the Format property to customize the way numbers, dates, times, and text are displayed and printed.

    For example, if you've created a Price field, you can set its Format property to "Currency". If the field value is set to "4321.678", it would be rendered as $4,321.68.

    You can use the Format property to format numbers (including currency and percentage values), dates, boolean values, and strings.

    See Also