Skip to main content

PageInfoTextBrick.Format Property

Gets or sets the format string to display text information within the brick.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

[XtraSerializableProperty]
public override string Format { get; set; }

Property Value

Type Description
String

A string, consisting of alternating fixed text and indexed placeholders.

Remarks

The Format property uses the composite formatting strings to obtain a result text string for display within the PageInfoTextBrick instance. For more information and examples of formatting strings, refer to the Composite Formatting topic in .NET Framework Developer’s Guide, MSDN.

By default, DateTime values are formatted with {0:D} string, numbers with {0} string, pagination with {0}/{1} string.

To restart a pagination, use the PageInfoTextBrick.ContinuousPageNumbering property.

See Also