Skip to main content

PrintingSystemBase.Culture Property

Specifies the culture used for date and time values in the XRPageInfo control.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public CultureInfo Culture { get; set; }

Property Value

Type Description
CultureInfo

A CultureInfo object.

Remarks

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