New to Telerik UI for WinFormsStart a free 30-day trial

Provides functionality for showing dialogs for find and replace.

Definition

Namespace:Telerik.WinForms.Documents.UI.Extensibility

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public interface IFindReplaceDialog

Properties

Gets a value indicating whether the dialog is open.

C#
bool IsOpen { get; }
Property Value:

true if the dialog is open; otherwise, false.

Methods

Closes the dialog.

C#
void Close()

Shows the dialog.

C#
void Show(RadRichTextBox richTextBox, Func<string, bool> replaceCallback, string textToFind)
Parameters:richTextBoxRadRichTextBox

The associated RadRichTextBox.

replaceCallbackFunc<string, bool>

The callback that will be invoked to perform replace.

textToFindstring

The text to initially set in the search field.