Back to Devexpress

PrintingSystemBase.Culture Property

corelibraries-devexpress-dot-xtraprinting-dot-printingsystembase-b721a724.md

latest2.4 KB
Original Source

PrintingSystemBase.Culture Property

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

Declaration

csharp
public CultureInfo Culture { get; set; }
vb
Public Property Culture As CultureInfo

Property Value

TypeDescription
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

PrintingSystemBase Class

PrintingSystemBase Members

DevExpress.XtraPrinting Namespace