Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRBinding.FormatString Property

Gets or sets the output format for the value bound to the control’s property.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[DefaultValue("")]
public string FormatString { get; set; }

#Property Value

Type Default Description
String String.Empty

A string containing the output format for the value bound to the control’s property.

#Remarks

The return value depends on the data type of the bound value and generally contains a template that determines the format.

Note

The FormatString setting is ignored for the Null, DBNull and String.Empty values.

To process such values, use the NullValueText and the control’s ProcessNullValues properties.

See Also