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

Provides functionality for showing dialogs for find and replace.

Definition

Namespace:Telerik.Windows.Documents.UI.Extensibility

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public interface IFindReplaceDialog

Derived Classes: FindReplaceDialog

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.