Paragraph.KeepWithNext Property


Gets or sets a value that indicates whether a break may occur between this paragraph and the next paragraph.

 property bool KeepWithNext { bool get(); void set(bool value); };
public bool KeepWithNext { get; set; }
member this.KeepWithNext : bool with get, set
Public Property KeepWithNext As Boolean

Property Value


true to prevent a break from occurring between this paragraph and the next paragraph; otherwise, false. The default value is false.


Dependency Property Information

Identifier field KeepWithNextProperty
Metadata properties set to true AffectsParentMeasure

Applies to

See also