Back to Devexpress

DXRichEditBehaviorOptions.PasteSingleCellAsText Property

wpf-devexpress-dot-xpf-dot-richedit-dot-dxricheditbehavioroptions-1c7db44b.md

latest1.8 KB
Original Source

DXRichEditBehaviorOptions.PasteSingleCellAsText Property

Gets or sets whether to paste a cell from the Clipboard as plain text. This is a dependency property.

Namespace : DevExpress.Xpf.RichEdit

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

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public bool PasteSingleCellAsText { get; set; }
vb
Public Property PasteSingleCellAsText As Boolean

Property Value

TypeDescription
Boolean

true, to paste cell contents as plain text; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to PasteSingleCellAsText
RichEditControl

.BehaviorOptions .PasteSingleCellAsText

|

Remarks

This option is in effect only if a single cell is copied and allows you to paste it as plain text, ignoring the cell formatting.

If several cells are selected and copied to the Clipboard, the PasteSingleCellAsText property is ignored and the Clipboard content is pasted as table cells.

See Also

DXRichEditBehaviorOptions Class

DXRichEditBehaviorOptions Members

DevExpress.Xpf.RichEdit Namespace