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

Opens the editor's find-and-replace dialog without moving focus back to the document after execution.

Definition

Constructors

Creates a command associated with the specified rich text box.

C#
public ShowFindReplaceDialogCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor whose find-and-replace dialog is opened.

Properties

Allows the command to run in protected documents.

C#
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }

Overrides: RichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocument

Allows the command to run when the editor is in read-only mode.

C#
protected override bool CanExecuteInReadOnlyMode { get; }

Overrides: RichTextBoxCommandBase.CanExecuteInReadOnlyMode

Allows the command to run when the current selection includes read-only content.

C#
protected override bool CanExecuteInReadOnlyRange { get; }

Overrides: RichTextBoxCommandBase.CanExecuteInReadOnlyRange

Prevents command execution from restoring focus to the document, leaving the find field ready for input.

C#
protected override bool ShouldFocusCaretAfterExecute { get; }

Overrides: RichTextBoxCommandBase.ShouldFocusCaretAfterExecute

Methods

Opens the associated editor's find-and-replace dialog.

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

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)