Paragraph::KeepWithNext 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 a break may occur between this paragraph and the next paragraph.

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

public:
property bool KeepWithNext {
	bool get();
	void set(bool value);
}

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: