OpenHyperlinkCommand
Opens the hyperlink containing the caret through the editor's hyperlink UI provider.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class OpenHyperlinkCommand : FieldRangeStartBaseCommandBase<HyperlinkRangeStart>, ICommand
Inheritance: objectRichTextBoxCommandBaseFieldRangeStartBaseCommandBase<HyperlinkRangeStart>OpenHyperlinkCommand
Implements:
Inherited Members
Constructors
Creates a command that opens hyperlinks from the specified editor.
public OpenHyperlinkCommand(RadRichTextBox editor)
The editor whose caret identifies the hyperlink to open.
Properties
Allows opening a hyperlink even when document protection is enforced.
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }
Overrides:
Allows opening a hyperlink when the editor is read-only.
protected override bool CanExecuteInReadOnlyMode { get; }
Overrides:
Allows opening a hyperlink when the caret is in a read-only range.
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Methods
Opens the hyperlink associated with the inline at the caret.
protected override void ExecuteOverride(object parameter)
Not used; the target hyperlink is resolved from the caret.
Overrides: