corelibraries-devexpress-dot-xtraprinting-dot-printingsystembase-b721a724.md
Specifies the culture used for date and time values in the XRPageInfo control.
Namespace : DevExpress.XtraPrinting
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public CultureInfo Culture { get; set; }
Public Property Culture As CultureInfo
| Type | Description |
|---|---|
| CultureInfo |
A CultureInfo object.
|
This property is initially set to the Thread.CurrentCulture value of the thread that creates the document.
When you use a report to create a document, the report controls’ values are converted to strings. The TextFormatString property specifies the format string used for the conversion. A culture-sensitive format string uses the culture setting from the current thread’s culture to convert values.
When a document is saved, the Culture property is serialized and stored with the document.
You can use the document’s Document.PrintingSystem.Culture property to specify a different culture and display the XRPageInfo control’s date and time values in another language.
See Also