wpf-devexpress-dot-xpf-dot-richedit-dot-dxricheditmailmergeoptions.md
Allows you to specify group and decimal separators used in a numeric format switch.
Namespace : DevExpress.Xpf.RichEdit
Assembly : DevExpress.Xpf.RichEdit.v25.2.dll
NuGet Package : DevExpress.Wpf.RichEdit
public MailMergeCustomSeparators CustomSeparators { get; }
Public ReadOnly Property CustomSeparators As MailMergeCustomSeparators
| Type | Description |
|---|---|
| MailMergeCustomSeparators |
An object that contains custom separator settings.
|
You can access this nested property as listed below:
| Object Type | Path to CustomSeparators |
|---|---|
| RichEditControl |
.MailMergeOptions .CustomSeparators
|
If custom separators are specified, they are used instead of separators that are specific to the current locale.
Use the CustomSeparators property when the separators used in format switches differ from separators defined for the current locale. For example, the numeric format switch uses a comma as a decimal separator while the current locale uses a dot. Then, the following field is displayed incorrectly:
MERGEFIELD MyNumber ##,##
Instead of “7.65” the field shows “8”.
To fix the problem, use the CustomSeparators property and set the MailMergeCustomSeparators.MaskDecimalSeparator to “,” (comma).
See Also
DXRichEditMailMergeOptions Class