MaskProperties.Culture Property
Gets or sets the culture whose settings are used by masks.
Namespace: DevExpress.XtraEditors.Mask
Assembly: DevExpress.XtraEditors.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Culture property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.