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

Paragraph.KeepWithNext Property

Gets or sets whether to put a break between the current paragraph and the next paragraph.

Namespace: DevExpress.XtraRichEdit.API.Native

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


public abstract bool KeepWithNext { get; set; }
Public MustOverride Property KeepWithNext As Boolean

Property Value

Type Description

true, to put a break between this paragraph and the next paragraph; otherwise, false.


With the KeepWithNext set to true, the target paragraph is moved together with the next paragraph.


The KeepWithNext options does not affect table paragraphs.

See Also