TXTextControl.ParagraphFormat.KeepWithNext Property

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

Introduced: 13.0.

Syntax

[C#]
public bool KeepWithNext { get; set; }
[Visual Basic]
Public Property KeepWithNext() As Boolean

Remarks

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.

See Also