Select theme:

Data formatting (Blazor)Link to this section

To format data in Radzen Blazor applications use the ToString method and specify a format expression.

String formattingLink to this section

The standard ToUpper and ToLower methods allow you to transform the string casing.

  • Uppercase: ${stringProperty.ToUpper()}
  • Lowercase: ${stringProperty.ToLower()}

Number formattingLink to this section

You can use standard and custom .NET number format strings.

  • Currency formatting: ${numberProperty.ToString("C0")}
  • Percent formatting: ${numberProperty.ToString("P")}
  • Custom formatting: ${numberProperty.ToString("00.00")}

Date formattingLink to this section

Both standard and custom date formats are supported.

  • Standard Date formatting: ${dateProperty.ToString("d")}
  • Custom Date formatting: ${dateProperty.ToString("dd/MM/yyyy")}
© 2016-2026 Radzen Ltd. All Rights Reserved.
Designed and developed with ❤️ in Radzen Blazor Studio.
IP Geolocation by DB-IP

Select theme: