Back to Devexpress

PageInfoTextBrick.Format Property

corelibraries-devexpress-dot-xtraprinting-dot-pageinfotextbrick.md

latest1.9 KB
Original Source

PageInfoTextBrick.Format Property

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

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public override string Format { get; set; }
vb
Public Overrides Property Format As String

Property Value

TypeDescription
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

How to: Use Bricks of Different Types

PageInfoTextBrick Class

PageInfoTextBrick Members

DevExpress.XtraPrinting Namespace