Back to Devexpress

Edit Hyperlink Dialog

wpf-10396-controls-and-libraries-rich-text-editor-visual-elements-dialogs-edit-hyperlink-dialog.md

latest3.0 KB
Original Source

Edit Hyperlink Dialog

  • Sep 02, 2025
  • 2 minutes to read

The Edit Hyperlink dialog enables users to insert a hyperlink pointing to an external location or local bookmark, and specify the hyperlink tooltip and target frame.

Click the Hyperlink button on the Home ribbon tab or execute ShowHyperlinkFormCommand to open this dialog. Refer to the following article Refer to the topic for details on how to add the ribbon UI for the RichEditControl: Create a Simple Rich Text Editor.

The Hyperlink dialog is also available form the context menu.

Use the HyperlinkCollection.Create method to create a new hyperlink and add it to the document’s SubDocument.Hyperlinks collection. Refer to the following topic for more information: Hyperlinks and Bookmarks.

The following API allows you to specify the Hyperlink dialog options in code:

OptionDescriptionAPI
Text to displaySpecifies the hyperlink text.Hyperlink.Range
ScreenTipSpecifies text displayed when the mouse hovers over a hyperlink.Hyperlink.ToolTip
Target frameSpecifies the frame in which to display the web page when the hyperlink is clicked. This option is in effect only when saving the document as a web page (HTM or HTML format).Hyperlink.Target
Link to:Select Existing file or web page to create a hyperlink. The Place in this document option allows you to associate a link with a bookmark. When this option is selected, the Bookmark field replaces the Address field.
AddressHyperlink.NavigateUri
BookmarkThis field becomes available if the Place in this document is selected in the Link to: section. The drop-down list contains available bookmarks.Hyperlink.Anchor