Interface
IFindReplaceDialog

Provides functionality for showing dialogs for find and replace.

Definition

Namespace:Telerik.Windows.Documents.UI.Extensibility

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public interface IFindReplaceDialog

Properties

IsOpen

Gets a value indicating whether the dialog is open.

Declaration

cs-api-definition
bool IsOpen { get; }

Property Value

bool

true if the dialog is open; otherwise, false.

Methods

Close()

Closes the dialog.

Declaration

cs-api-definition
void Close()

Show(RadRichTextBox, Func<string, bool>, string)

Shows the dialog.

Declaration

cs-api-definition
void Show(RadRichTextBox richTextBox, Func<string, bool> replaceCallback, string textToFind)

Parameters

richTextBox

RadRichTextBox

The associated RadRichTextBox.

replaceCallback

Func<string, bool>

The callback that will be invoked to perform replace.

textToFind

string

The text to initially set in the search field.