Back to Devexpress

DXRichEditBehaviorOptions.PasteLineBreakSubstitution Property

wpf-devexpress-dot-xpf-dot-richedit-dot-dxricheditbehavioroptions-09c26332.md

latest2.5 KB
Original Source

DXRichEditBehaviorOptions.PasteLineBreakSubstitution Property

Gets or sets the substitute character used to replace the line break in pasted HTML. This is a dependency property.

Namespace : DevExpress.Xpf.RichEdit

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

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public LineBreakSubstitute PasteLineBreakSubstitution { get; set; }
vb
Public Property PasteLineBreakSubstitution As LineBreakSubstitute

Property Value

TypeDescription
LineBreakSubstitute

A LineBreakSubstitute enumeration value specifying a substitute character for a HTML line break.

|

Available values:

NameDescription
None

Line break is not replaced, i.e. it is left intact.

| | Paragraph |

Line break is treated as a paragraph delimiter.

| | Space |

Line break is substituted with a space.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to PasteLineBreakSubstitution
RichEditControl

.BehaviorOptions .PasteLineBreakSubstitution

|

Remarks

Use the PasteLineBreakSubstitution property to replace a line break in pasted HTML text with a space or a paragraph.

See Also

BeforeImport

DXRichEditBehaviorOptions.Paste

PasteSingleCellAsText

RichEditControl.Paste

InsertDocumentContent

DXRichEditBehaviorOptions Class

DXRichEditBehaviorOptions Members

DevExpress.Xpf.RichEdit Namespace