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

XRCrossTabCell.TextFormatString Property

Specifies the output format for a cell’s values.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[Browsable(true)]
public override string TextFormatString { get; set; }

#Property Value

Type Description
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