Opens the associated editor's hyperlink dialog when the current selection supports hyperlink editing.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ShowInsertHyperlinkDialogCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseShowInsertHyperlinkDialogCommand
Implements:
Inherited Members
Constructors
Initializes the command and tracks selection changes that affect whether the dialog can be opened.
public ShowInsertHyperlinkDialogCommand(RadRichTextBox editor)
The rich text box whose selection and dialog are used by the command.
Properties
Gets a value indicating whether command execution should return keyboard focus to the editor. The dialog is shown without explicitly refocusing the editor.
protected override bool ShouldFocusCaretAfterExecute { get; }
Overrides:
Methods
Returns whether the current selection can be used to open the hyperlink dialog. A selection must be empty or contain one range and must not fully select a combo box, date, drop-down list, text, or picture content control.
Opens the hyperlink dialog configured on the associated rich text box.
protected override void ExecuteOverride(object parameter)
Not used by this command.
Overrides: