Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ConflictNameAction Enum

Lists actions that can be performed when a bookmark in the document being inserted and in the target document have the same name.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

[ComVisible(true)]
public enum ConflictNameAction

#Members

Name Description
Keep

Keep bookmarks with the same name providing different internal names to distinguish them.

Rename

Append the underscore and a number to the name of the bookmark being inserted if the target document already contains a bookmark with the same name.

Skip

Do not create a bookmark if the target document contains a bookmark with the same name as the bookmark being inserted.

#Related API Members

The following properties accept/return ConflictNameAction values:

Library Related API Members
WPF Controls DXRichEditBookmarkOptions.ConflictNameResolution
Office File API BookmarkOptions.ConflictNameResolution

#Remarks

Use the BookmarkOptions.ConflictNameResolution property to specify the ConflictNameAction enumeration.

See Also