.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ParagraphPropertiesBase.ContextualSpacing Property

Gets or sets whether to suppress addition of additional space (contextual spacing) between paragraphs of the same style.

Namespace: DevExpress.XtraRichEdit.API.Native

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


bool? ContextualSpacing { get; set; }
Property ContextualSpacing As Boolean?

Property Value

Type Description

true to remove extra spacing between paragraphs, false to add extra space, null for a mixture of values.


By default, to mark the change from one paragraph to another, the line spacing is increased. To prevent this, set the ContextualSpacing to true.

You can turn the ContextualSpacing option on or off by selecting or clearing Don't add space between paragraphs of the same style checkbox in the Paragraph Dialog.

See Also