Paragraph.KeepTogether Property

 
System_CAPS_noteNote

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

Gets or sets a value that indicates whether the text of the paragraph may be broken by a page break or column break.

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

Public Property KeepTogether As Boolean

Property Value

Type: System.Boolean

true to prevent the text of the paragraph from being broken; otherwise, false. The default value is false.

.NET Framework
Available since 3.0
Return to top
Show: