.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

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.v19.1.Core.dll

Declaration

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

Property Value

Type Description
Nullable<Boolean>

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

Remarks

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