New to Telerik UI for WinFormsStart a free 30-day trial

Provides functionality for showing dialogs for inserting/editing hyperlinks.

Definition

Namespace:Telerik.WinForms.Documents.UI.Extensibility

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public interface IInsertHyperlinkDialog

Methods

Shows the dialog for inserting hyperlinks.

C#
void ShowDialog(string text, HyperlinkInfo currentHyperlinkInfo, IEnumerable<string> bookmarkNames, Action<string, HyperlinkInfo> insertHyperlinkCallback, Action cancelCallback, RadRichTextBox owner)
Parameters:textstring

The text of the hyperlink.

currentHyperlinkInfoHyperlinkInfo

The current hyperlink info. Null if we are not in edit mode.

bookmarkNamesIEnumerable<string>

Names of all existing bookmarks.

insertHyperlinkCallbackAction<string, HyperlinkInfo>

The callback that will be called on confirmation to insert the hyperlink.

cancelCallbackAction

The callback that will be called on cancellation.

ownerRadRichTextBox

The owner of the dialog.