Bookmark Dialog

The Bookmark dialog enables end-users to add a new bookmark, delete an existing bookmark or scroll to the location marked with a selected bookmark.

RTEBookmarkDialog

End-users can invoke this dialog using the Bookmark button on the Insert ribbon tab. Refer to the How to: Create the RichEditControl with a Ribbon UI for details on how to provide the ribbon ui to the RichEditControl. Executing the ShowBookmarkFormCommand command invokes this dialog as well.

XtraRichEdit_Dialogs_Bookmark_Invoke

The dialog is also available from the context menu.

XtraRichEdit_Dialogs_Bookmark_ContextMenu

To customize the default Bookmark dialog (modify captions, set default dialog values, implement custom validation, etc.) or substitute a completely new dialog, handle the RichEditControl.BookmarkFormShowing event. To get an example of dialog replacement, refer to the How to: Customize the Search Form or How to: Customize the Hyperlink Form document.

TIP

Use the BookmarkCollection.Create method to create the bookmark from a given document range programmatically. Refer to the Bookmarks and Hyperlinks topic for details.

See Also