Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Paragraph.KeepWithNext Property

Definition

Namespace:
System.Windows.Documents
Assembly:
PresentationFramework.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 property bool KeepWithNext { bool get(); void set(bool value); };
public bool KeepWithNext { get; set; }
member this.KeepWithNext : bool with get, set
Public Property KeepWithNext As Boolean

Property Value

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

Remarks

Dependency Property Information

Item Value
Identifier field KeepWithNextProperty
Metadata properties set to true AffectsParentMeasure

Applies to

See also


Feedback

Was this page helpful?