.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


public bool KeepLastParagraph { get; set; }

Property Value

Type Description

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
WPF Controls RichEditControlOptions
Office File API RichEditControlOptionsBase


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