Skip to main content

Hyperlink Dialog

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

RTEHyperlinkMenu

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

XtraRichEdit_Dialogs_Hyperlink_Invoke

The Hyperlink dialog is also available from the context menu.

XtraRichEdit_Dialogs_Hyperlink_ContextMenu

Tip

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

Handle the RichEditControl.HyperlinkFormShowing event to customize the default Edit Hyperlink dialog (modify captions, set default dialog values, implement custom validation, etc.) or substitute it with completely new one. Refer to the How to: Customize the Hyperlink Form document to get an example of the dialog replacement.

See Also