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

Paragraph.KeepLinesTogether Property

Gets or sets whether to prevent all page breaks that interrupt a paragraph.

Namespace: DevExpress.XtraRichEdit.API.Native

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


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

Property Value

Type Description

true to keep paragraph lines together; otherwise, false.


When set to true, the KeepLinesTogether option prevents all page breaks that interrupt a paragraph. When a page break is needed, the entire paragraph is moved to the next page.

See Also