New to Telerik UI for WinForms? Start a free 30-day trial

Selects the full hyperlink range containing the caret.

Definition

Constructors

Creates a command that selects hyperlinks in the specified editor.

C#
public SelectHyperlinkCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor whose caret identifies the hyperlink to select.

Properties

Allows selecting a hyperlink even when document protection is enforced.

C#
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }

Overrides: RichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocument

Allows selecting a hyperlink when the editor is read-only.

C#
protected override bool CanExecuteInReadOnlyMode { get; }

Overrides: RichTextBoxCommandBase.CanExecuteInReadOnlyMode

Allows selecting a hyperlink when the caret is in a read-only range.

C#
protected override bool CanExecuteInReadOnlyRange { get; }

Overrides: RichTextBoxCommandBase.CanExecuteInReadOnlyRange

Methods

Selects the hyperlink range containing the caret.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

Not used; the target hyperlink is resolved from the caret.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)