Paragraph.KeepWithNext Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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