Skip to main content
A newer version of this page is available. .

DXRichEditMailMergeOptions.KeepLastParagraph Property

Specifies whether the last paragraph of the inserted document is kept in the resulting document. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, DevExpress.Wpf.RichEdit

Declaration

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:

Object Type Path to KeepLastParagraph
RichEditControl
.MailMergeOptions .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