Paragraph.KeepTogether Property

 

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 bool KeepTogether { get; set; }

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: