Back to Devexpress

Paragraph.WidowOrphanControl Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-paragraph-140375a3.md

latest1.5 KB
Original Source

Paragraph.WidowOrphanControl Property

Gets or sets whether to apply control over the widow and orphan lines.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public abstract bool WidowOrphanControl { get; set; }
vb
Public MustOverride Property WidowOrphanControl As Boolean

Property Value

TypeDescription
Boolean

true to apply widow/orphan control; otherwise, false.

|

Remarks

Use the WidowOrphanControl property to control the last paragraph line printed by itself at the page top (widow line) and a first paragraph line printed by itself at the page bottom (orphan line). Setting the WidowOrphanControl property to true keeps the widow or orphan line together with the paragraph.

See Also

Paragraph Class

Paragraph Members

DevExpress.XtraRichEdit.API.Native Namespace