Gets or sets a string used to format the value of the current field.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public string Format { get; set; }
Visual Basic
Public Property Format As String
	Get
	Set

Remarks

You can use this 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 this property to format numbers (including currency and percentage values), dates, boolean values, and strings.

The syntax for the format string is the same as used with the .NET Format(String, Object) method.

See Also