Interface IInsertHyperlinkDialog
Provides functionality for showing dialogs for inserting/editing hyperlinks.
Namespace: Telerik.Windows.Documents.UI.Extensibility
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public interface IInsertHyperlinkDialog
Methods
ShowDialog(String, HyperlinkInfo, IEnumerable<String>, Action<String, HyperlinkInfo>, Action, RadRichTextBox)
Shows the dialog for inserting hyperlinks.
Declaration
void ShowDialog(string text, HyperlinkInfo currentHyperlinkInfo, IEnumerable<string> bookmarkNames, Action<string, HyperlinkInfo> insertHyperlinkCallback, Action cancelCallback, RadRichTextBox owner)
Parameters
System.String
text
The text of the hyperlink. |
HyperlinkInfo
currentHyperlinkInfo
The current hyperlink info. Null if we are not in edit mode. |
System.Collections.Generic.IEnumerable<System.String>
bookmarkNames
Names of all existing bookmarks. |
System.Action<System.String, HyperlinkInfo>
insertHyperlinkCallback
The callback that will be called on confirmation to insert the hyperlink. |
System.Action
cancelCallback
The callback that will be called on cancellation. |
RadRichTextBox
owner
The owner of the dialog. |