Skip to main content
A newer version of this page is available. .

CopyPasteOptions.TabInsertOptions Property

Gets or sets how to set tab stops in the inserted paragraph.

Namespace: DevExpress.XtraRichEdit

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

Declaration

[Browsable(false)]
[DefaultValue(InsertOptions.KeepSourceFormatting)]
public InsertOptions TabInsertOptions { get; set; }

Property Value

Type Default Description
InsertOptions **KeepSourceFormatting**

An InsertOptions enumeration member that specifies whose tab arrangement should be used for the inserted paragraph.

Available values:

Name Description
KeepSourceFormatting

Retains character styles and direct formatting (font size, emphasis, etc.) applied to the inserted text.

MatchDestinationFormatting

Default value.

UseDestinationStyles

Retains styles associated with the target document when style definition conflicts occur.

KeepTextOnly

Removes all formatting and non-text elements (pictures, shapes, comments, etc.).

MergeFormatting

Changes the formatting so that it matches the text that surrounds the inserted content.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to TabInsertOptions
WinForms Controls SnapControlOptions
.CopyPaste.TabInsertOptions
RichEditControlOptions
.CopyPaste.TabInsertOptions
WPF Controls RichEditControlOptions
.CopyPaste.TabInsertOptions
Office File API RichEditControlOptionsBase
.CopyPaste.TabInsertOptions

Remarks

Note

We recommend that you use the CopyPasteOptions.InsertOptions property to specify how to set tab stops in the inserted content.

Use the TabInsertOptions property to specify whether the inserted paragraph should retain its tab arrangement (accessible with the Paragraph.BeginUpdateTabs method) or apply the tab arrangement of the paragraph to which it is copied.

See Also