Back to Devexpress

XRBinding.FormatString Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrbinding-fa08aa6f.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue("")]
public string FormatString { get; set; }
vb
<DefaultValue("")>
Public Property FormatString As String

Property Value

TypeDefaultDescription
StringString.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

Format Data

XRBinding Class

XRBinding Members

DevExpress.XtraReports.UI Namespace