Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • 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

    MailMergeNumberingRestart NumberedListRestart { get; set; }

    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
    .Options .NumberedListRestart

    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.

    See Also