The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRPageInfo.TextFormatString Property

Specifies the output format for the control's bound value (provided by the applied expression, data binding or summary).

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll


public override string TextFormatString { get; set; }
Public Overrides Property TextFormatString As String

Property Value

Type Description

A string that specifies the control's format.


When the UserDesignerOptions.DataBindingMode is set to DataBindingMode.Expressions or DataBindingMode.ExpressionsAdvanced, use the TextFormatString property to specify the control's format.

The following code snippet demonstrates how to display the current date and time and specify the output format.

xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
xrPageInfo1.TextFormatString = "{0:MMMM d, yyyy}";
See Also