Skip to main content
.NET Framework 4.5.2+

BookmarkOptions.ConflictNameResolution Property

Specifies an action that will be performed after inserting a document range if that range contains a bookmark with the same name as one in the current document.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

[DefaultValue(ConflictNameAction.Keep)]
[XtraSerializableProperty]
public virtual ConflictNameAction ConflictNameResolution { get; set; }

Property Value

Type Default Description
ConflictNameAction Keep

A ConflictNameAction enumeration member that identifies an action.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ConflictNameResolution
WinForms Controls RichEditControlOptions
.Bookmarks.ConflictNameResolution
WPF Controls RichEditControlOptions
.Bookmarks.ConflictNameResolution
Office File API RichEditControlOptionsBase
.Bookmarks.ConflictNameResolution
ASP.NET Web Forms Controls ASPxRichEditSettings
.Bookmarks.ConflictNameResolution

Remarks

The ConflictNameResolution specifies how to deal with conflicting bookmark names when a document containing a bookmark is inserted in another document containing a Bookmark with the same name. This situation may happen in copy-paste operations (PasteSelectionCommand), in the SubDocument.InsertDocumentContent and SubDocument.AppendDocumentContent methods.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ConflictNameResolution property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also