If this property is set to true, the paragraph is displayed on the same page as its following paragraph.

Introduced: 13.0.


public bool KeepWithNext { get; set; }
Public Property KeepWithNext() As Boolean


The property's default value is false.

The property returns its default value when the text selection contains multiple paragraphs with mixed setting. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.

Further Reading

Learn more about the TXTextControl.ParagraphFormat.KeepWithNext Property in the Text Control Blog: