Paragraph.KeepWithNext Property

 

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

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool KeepWithNext { get; set; }

Property Value

Type: System.Boolean

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

.NET Framework
Available since 3.0
Return to top
Show: