Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public bool PreserveInsertedContentFormatting { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

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

See Also