.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

RichEditMailMergeOptions.KeepLastParagraph Property

Specifies whether or not the last paragraph of the inserted document is kept in the resulting document.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.2.Core.dll

Declaration

[DefaultValue(false)]
public bool KeepLastParagraph { get; set; }

Property Value

Type Description
Boolean

true, to retain the last paragraph of the inserted document; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to KeepLastParagraph
WinForms Controls SnapControlOptions
.MailMerge.KeepLastParagraph
RichEditControlOptions
.MailMerge.KeepLastParagraph
WPF Controls RichEditControlOptions
.MailMerge.KeepLastParagraph
Office File API RichEditControlOptionsBase
.MailMerge.KeepLastParagraph

Remarks

The KeepLastParagraph property specifies how the document is inserted in place of the DOCVARIABLE field if the Document.CalculateDocumentVariable event is properly handled.

To learn more, see the CalculateDocumentVariableEventArgs.KeepLastParagraph property description.

See Also