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
NuGet Package: DevExpress.RichEdit.Core
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.WindowsDesktop.RichEdit.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | 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 |
|
RichEditControlOptions |
|
|
WPF Controls | RichEditControlOptions |
|
Office File API | RichEditControlOptionsBase |
|
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.