Class FindReplaceDialog
Inherited Members
Namespace: Telerik.WinForms.RichTextEditor.RichTextBoxUI.Dialogs
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class FindReplaceDialog : RadForm, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider, IFindReplaceDialog
Constructors
FindReplaceDialog()
Declaration
public FindReplaceDialog()
Properties
Document
IsOpen
Declaration
public bool IsOpen { get; }
Property Value
System.Boolean
|
Implements
TextToFind
Declaration
public string TextToFind { get; set; }
Property Value
System.String
|
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
true if managed resources should be disposed; otherwise, false. |
Overrides
FindNext()
Declaration
public void FindNext()
FindNext(DocumentPosition)
Declaration
public void FindNext(DocumentPosition fromPosition)
Parameters
DocumentPosition
fromPosition
|
LocalizeStrings()
Declaration
protected virtual void LocalizeStrings()
OnClosing(CancelEventArgs)
Declaration
protected override void OnClosing(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs
e
|
OnShown(EventArgs)
Declaration
protected override void OnShown(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
ResetFindDialog()
Declaration
public void ResetFindDialog()
Show(RadRichTextBox, Action<String>, String)
Shows the dialog.
Declaration
public void Show(RadRichTextBox richTextBox, Action<string> replaceCallback, string textToFind)
Parameters
RadRichTextBox
richTextBox
The associated RadRichTextBox. |
System.Action<System.String>
replaceCallback
The callback that will be invoked to perform replace. |
System.String
textToFind
The text to initially set in the search field. |
Show(RadRichTextBox, Func<String, Boolean>, String)
Shows the dialog.
Declaration
public void Show(RadRichTextBox richTextBox, Func<string, bool> replaceCallback, string textToFind)
Parameters
RadRichTextBox
richTextBox
The associated RadRichTextBox. |
System.Func<System.String, System.Boolean>
replaceCallback
The callback that will be invoked to perform replace. |
System.String
textToFind
The text to initially set in the search field. |