New to Telerik UI for WinForms? Start a free 30-day trial

Contract for showing a bookmark-management dialog using callbacks supplied by the rich text box.

Definition

Namespace:Telerik.WinForms.Documents.UI.Extensibility

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public interface IManageBookmarksDialog

Methods

Shows the dialog and provides callbacks for retrieving, inserting, deleting, and navigating bookmarks.

C#
void ShowDialog(Func<BookmarksSortingType, IEnumerable<BookmarkRangeStart>> getBookmarksFunction, Action<string> insertBookmarkAction, Action<string> deleteBookmarkAction, Action<string> gotoBookmarkAction, RadRichTextBox owner)
Parameters:getBookmarksFunctionFunc<BookmarksSortingType, IEnumerable<BookmarkRangeStart>>

Returns the bookmarks to display in the requested BookmarksSortingType order.

insertBookmarkActionAction<string>

Inserts a bookmark with the name entered in the dialog.

deleteBookmarkActionAction<string>

Deletes the selected bookmark by name.

gotoBookmarkActionAction<string>

Navigates to the selected bookmark by name.

ownerRadRichTextBox

The rich text box whose containing form owns the dialog.