Opens the editor's find-and-replace dialog without moving focus back to the document after execution.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ShowFindReplaceDialogCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseShowFindReplaceDialogCommand
Implements:
Inherited Members
Constructors
Creates a command associated with the specified rich text box.
public ShowFindReplaceDialogCommand(RadRichTextBox editor)
The editor whose find-and-replace dialog is opened.
Properties
Allows the command to run in protected documents.
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }
Overrides:
Allows the command to run when the editor is in read-only mode.
protected override bool CanExecuteInReadOnlyMode { get; }
Overrides:
Allows the command to run when the current selection includes read-only content.
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Prevents command execution from restoring focus to the document, leaving the find field ready for input.
protected override bool ShouldFocusCaretAfterExecute { get; }
Overrides:
Methods
Opens the associated editor's find-and-replace dialog.