Partilhar via


Format Element (RDL)

Contains the Microsoft .NET Framework formatting string for the item.

Syntax

<Style>
      ...
        <Format>...</Format>
      ...
</Style>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

No formatting

Cardinality

0-1: Optional element that can occur once or not at all.

Element Relationships

Relationship Element

Parent element

Style

Child element

None

Remarks

The Format element must contain an expression that evaluates to a .NET Framework formatting string. For information about .NET Framework formatting strings, see "Formatting Types" in the .NET Framework SDK documentation.

Locale-dependent currency formatting (format code C) and locale-dependent date formatting are based on the language setting for the report item.

Format applies only to text box, subtotal, title, data label, and legend report items.

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance