Back to Devexpress

MaskProperties.Culture Property

windowsforms-devexpress-dot-xtraeditors-dot-mask-dot-maskproperties-3d991c16.md

latest2.0 KB
Original Source

MaskProperties.Culture Property

Gets or sets the culture whose settings are used by masks.

Namespace : DevExpress.XtraEditors.Mask

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public CultureInfo Culture { get; set; }
vb
<Browsable(False)>
Public Property Culture As CultureInfo

Property Value

TypeDescription
CultureInfo

A CultureInfo object whose settings are used by masks.

|

Remarks

This property specifies the CultureInfo whose settings are used by masks. For instance, it provides such settings as the character used as a currency symbol, date and time separators, the number of digits to the right of the decimal point, common date and numeric patterns, etc.

By default, the Culture property is set to a NULL reference. In this case, the masks use the culture of the current thread (the System.Globalization.CultureInfo.CurrentCulture property). You can set the Culture property to any other CultureInfo object and the editor will use the specified culture instead of the default one.

See Also

MaskProperties Class

MaskProperties Members

DevExpress.XtraEditors.Mask Namespace