Back to Devexpress

BookmarkOptions.AllowNameResolution Property

officefileapi-devexpress-dot-xtrarichedit-dot-bookmarkoptions-1c7f704a.md

latest2.8 KB
Original Source

BookmarkOptions.AllowNameResolution Property

OBSOLETE

Use ConflictNameResolution instead.

Gets or sets whether duplicate bookmark names are automatically replaced with auto-generated unique names.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[Browsable(false)]
[DefaultValue(false)]
[Obsolete("Use ConflictNameResolution instead.")]
[XtraSerializableProperty]
public virtual bool AllowNameResolution { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
<Browsable(False)>
<Obsolete("Use ConflictNameResolution instead.")>
Public Overridable Property AllowNameResolution As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

True , to automatically replace duplicate names; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowNameResolution
RichEditControlOptionsBase

.Bookmarks .AllowNameResolution

|

Remarks

Duplicate bookmark names may inadvertently appear in the document in the following operations:

Since duplicate names are not allowed, they should be removed or renamed. If the AllowNameResolution is set to true, a duplicate name is automatically replaced with a unique name generated by adding an underscore and an ordinal number to the original bookmark name. If the AllowNameResolution is false, the duplicate bookmark is simply removed.

See Also

BookmarkOptions Class

BookmarkOptions Members

DevExpress.XtraRichEdit Namespace