Back to Devexpress

XRCrossTabCell.TextFormatString Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-crosstab-dot-xrcrosstabcell.md

latest1.9 KB
Original Source

XRCrossTabCell.TextFormatString Property

Specifies the output format for a cell’s values.

Namespace : DevExpress.XtraReports.UI.CrossTab

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[Browsable(true)]
public override string TextFormatString { get; set; }
vb
<Browsable(True)>
Public Overrides Property TextFormatString As String

Property Value

TypeDescription
String

The format string.

|

Remarks

The TextFormatString property allows you to format a data-bound cell’s values: apply a currency or percent format, add a custom prefix or suffix, etc.

You can access this property in a cell’s smart tag.

You can also can select multiple cells and set the TextFormatString property in the Properties window. Click the property’s ellipsis button to invoke the Format String Editor.

In Print Preview, the Cross Tab displays values with the specified formats.

See Also

XRCrossTabCell Class

XRCrossTabCell Members

DevExpress.XtraReports.UI.CrossTab Namespace