SnapMailMergeExportOptions.NumberedListRestart Property
Sets the behavior of numbered lists when the mail merge operation is performed.
Namespace: DevExpress.Snap.Core.Options
Assembly: DevExpress.Snap.v21.2.Core.dll
NuGet Package: DevExpress.Snap.Core
Declaration
Property Value
| Type | Description |
|---|---|
| MailMergeNumberingRestart | One of the MailMergeNumberingRestart enumeration values. |
Available values:
| Name | Description |
|---|---|
| None | Continue the list numbering unless otherwise specified in the list settings (e.g, when a specific numbered list is manually restarted). |
| Always | Restart a numbered list for each record. |
| AlwaysExceptParagraphStyles | Restart the numbered list for each record, but ignore lists that created by applying paragraph styles with numbering (e.g., “Chapter 1”, “Chapter 2”, etc. ) . |
Property Paths
You can access this nested property as listed below:
| Object Type | Path to NumberedListRestart |
|---|---|
| MailMergeExportFormShowingEventArgs |
|
Remarks
To restart a numbered list for each record in a mail merge document, set this property to the MailMergeNumberingRestart.Always or MailMergeNumberingRestart.AlwaysExceptParagraphStyles enumeration value.