Skip to main content
.NET Framework 4.5.2+

CalculateDocumentVariableEventArgs.PreserveInsertedContentFormatting Property

Gets or sets whether to insert an additional hidden paragraph so that the inserted content is not formatted with the DOCVARIABLE field’s paragraph formatting.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core


public bool PreserveInsertedContentFormatting { get; set; }

Property Value

Type Description

True, to insert a hidden paragraph before the DOCVARIABLE field’s content; otherwise, false.


Specify the PreserveInsertedContentFormatting option to preserve formatting of the first paragraph in the inserted content when the DOCVARIABLE field is evaluated.

See Also